Total Pageviews

Sunday, March 10, 2013


ORACLE PAYABLES

                                                                                                           
Overview:

AP is a complete payable solution module that helps to process invoices & payments quickly & efficiently.

AP flow :                                                                                            Flow of Invoice :

                                    Entering Invoices                                          Create Invoice
                                                                     

Processing the invoices                                 Approve Invoice

              Accounting the transactions represented by Invoice    Release Invoice hold
 


           Scheduling of invoices                         Create payment for Inv


  Making Payment                                  Apply prepayments


    Reconciliation                                    Void existing check

       Posting                                        Payables trf to gen. ledger


                                          Reports                                          Journal import into GL


Basically deals with the following activities:                                 Journal Posting

  • Invoicing
  • Payment

Invoicing :

Pre-requisition for Creating Invoices:

1>    Payment term : no of days, cash, % due (installments) [total should be 100]
2>    Distribution set –
·         Full % (ratio)
·         Skeleton – Full amount (while entering the invoice)
3>    Supplier & supplier site –

Types of Invoices:

  1. Standard Invoice : Normal trade invoice
  2. Credit Memo : We receive from supplier & record it (negative amount)
  3. Debit Memo : We create & send to supplier (negative amount)
  4. Expense Report: Record reimbursable business expenditure incurred by employees.
      (prerequisites – 1> Create employee
                                  2> Assigning employee to supplier
                                  3> Create expense invoice template  
  1. Mixed Invoice : (+ or – both)
  2. Prepayment : (like advance)
  3. Withhold tax Invoice : Withhold to tax authority
  4. Quick Match : Automatic ship lines match to PO
  5. PO Default : Matched to PO (Manual)

Types of tax :

·         Sales tax : Sales tax on invoice
·         Use tax : Responsibility of seller to assess , collect & remit tax
·         Offset tax: Required where EURO members interchanging goods (not   
                         applicable in India)
·         User defined tax : We can define the tax codes (using quick code option)
·         Withhold tax : Deduct part of amount from supplier Invoice & deposit the
                                same to the tax authority. (Same as TDS)

Invoice Matching : (Provided the Purchasing module in on-line)
3 ways

1>    2 way match (Payable validates these two conditions)
Invoice price <= Ordered price
Invoice Qty<= Ordered qty

2>    3 way match (Payable validates these three conditions)
Invoice price <= Ordered price
Invoice Qty<= Ordered qty
Invoice qty<= Received qty

3>    4 way match (Payable validates these four conditions)
Invoice price <= Ordered price
Invoice Qty<= Ordered qty
Invoice qty<= Received qty
Invoice qty<= Accepted qty



Concept of Supplier Merge :

1>    All : (Settled as well as outstanding invoices)
2>    Unpaid : (Only unpaid invoices)
3>    None : (Only merge, paid or unpaid transactions will not be merged but it will
                   be possible to query those)
4>    Merge PO  [    ] (yes/No)
5>    Copy site

Payments :

Pre-requisition
1>    Bank
2>    Payment document
3>    Approved Invoice
4>    Supplier

Payment methods :
1>    Single payment
2>    Batch payment (club multiple invoices together)
3>    Future dated payment
4>    Foreign currency payment [if allow multiple currency option is enabled]
5>    Zero payment (zero amount invoice)

Payable Open interfaces :

1>    Credit card transaction Interface :

Interface Table : Ap_expenses_feed_lines

2>    Payables open interface

Interface Tables : Ap_invoices_interface
             Ap_invoice_lines_interface

3>    Purchase order matching
      Matching tables :Po_headers,po_lines,pl_line_locations,po_distributions,po_distributions_ap_v(view),  po_releases,po_lookup_codes

All the above interfaces will upload info into the following :

Ap_invoices_all
Ap_invoice_distributions_all


Other important tables are
Ap_payment_schedules_all.
Ap_vendors

About General ledger transfer :

Submit : Payables transfer to general ledger

(the above transfers the approved invoice & payment into to GL interface), we can schedule the same. If y are using multiple currency then y need to submit the same multiple time using different responsibility.




































AP PRACTICE EXERCISES
A)  GENERAL                                                                      
1.      Payables Workbenches
Payables include two fully integrated workbenches,
a)      Invoice Workbench and
b)      Payment Workbench.
You can perform most of your transactions in Payables using the Invoice Workbench or the Payment Workbench. You enter, adjust, and review invoices and invoice batches in the Invoice Workbench. You create, adjust, and review payments and payment batches in the Payments Workbench. Refer to the Oracle Payable User Guide Page No.1-6 & 1-9 to understand the Windows Hierarchy in Invoice and Payment Workbench.
2.      Payables Setup
In this section user will understand the various step, both Payable and Non-Payable specific, involved in setting up Oracle Payables.  The user is required to quickly peruse the Oracle Payable Implementation Checklist & understand the steps involved in making a successful Payables implementation. User can refer to Oracle User Guide Page No. 2-2 for the Set up Steps Summary.
B)   TRANSACTIONS & ASSOCIATED SET UP
-          Defining Options
-          Suppliers
-          Banks
-          Invoice Workbench
-          Accounting Entries
-          Programs, Reports and Listings
-          Payables Invoice Import
-          Payables Open Interface Import
1.      Defining Options
·         Payables Options.
·         Financial Options.
2.      Suppliers
·         Define New Suppliers
·         Identify Duplicate Suppliers
·         Merge Suppliers Header Information & Site Information.
3.      Banks
·         Define Banks
F Bank
F Clearing House
·         Define Bank Account
F Defining Internal Bank Accounts
F Defining Supplier Bank Accounts
F Defining Multiple Currency Bank Accounts
F Defining Foreign Currency Bank Accounts
·         Define Payable Document
·         Define a Zero Payments Bank & Payment Document
·         Define Payment Formats.(One allowing Zero Payments)
4.      Invoice Workbench
-          Setup
-          Standard Invoice
-          Debit Memo
-          Credit Memo
-          Prepayment
-          Expense Report
-          Recurring Invoices
-          Holds
-          Taxes on Invoices

1.      Define your own Payment Terms
2.      Create different Distribution Sets for oft used Charge account
F Skeleton Distribution Sets
F Full Distribution Sets
3.      Tolerances.
4.      Approvals (Holds)

·         Standard Invoices
1.      Create a Standard Invoice Line
2.      Enter the Invoice distribution Line
F Enter manually in the distribution window.
F Use a Distribution Set.
F Match an invoice to a purchase order or receipt
F Create through Allocation. Creating Tax, Freight and Miscellaneous Charges by Allocating to Distributions
F Create Tax distributions through Automatic Tax Calculation. (At header, Line, Tax code levels)
With Include tax check box
Without Include tax check box
F Create Freight Distributions by using the Create Freight Distribution check box in the Invoices window.
3.      Approve the invoice and create the accounting line for the above invoice and view it.
4.      Create an invoice, with tracking it as an asset, transferring the amount to the Oracle Fixed Assets.


·         Purchase Order Matched Invoice
F Purchase order matched invoices are invoices that you match to any of the following:
1.      Purchase order shipments
2.      Purchase order receipts
3.      Purchase order receipt lines
4.      Purchase order distributions
F Final Matching an Invoice to a Purchase Order
(Try to reverse the distribution after final matching to a PO)

·         Debit/Credit Memo
1.      Entering a Debit/Credit Memo lines
2.      Enter the Distributions
F Manual
F Automatic
a.       Enter a Skeleton Distribution Set
b.      Matching to the Purchase Order or Receipt
c.       Matching to the Invoice
3.      Matching a Debit/Credit Memo
F To an invoice NOT MATCHED to a PO
F To an invoice MATCHED to a PO
In the above cases the memos can be matched to the Invoice line, Invoice distribution, PO Shipment, PO Distribution & to Receipt depending upon whether the Invoice is matched to PO or not.
F Match the memo to invoices paid using a discount.
F Match it to fully paid and posted invoice
F Match the memo to multiple invoices at multiple levels.

·         Prepayments
1.      Entering Prepayments
2.      Paying Prepayments
3.      Matching Prepayments to Purchase Orders
4.      Applying Prepayments to Invoices
5.      Applying Prepayments to Expense Reports
6.      Unapplying Prepayments
7.      Canceling Prepayments
8.      Foreign Currency Prepayments & implication on exchange rate gain/loss on applying the Prepayment to the Invoices.
9.      Applying and Releasing Holds on Prepayments
10.  Automatic Tax Calculation When Applying Prepayments
11.  Withholding Tax When Applying Prepayments
12.  Prepayments Status Report
13.  Recording a Refund of a Prepayment


·         Expense Reports
1.      Define Employees
2.      Define Employees as Supplier: Two Methods
i.        Automatic Creation: Enable The Create Employee As Supplier In Payables Option
ii.      Manual Creation: Enter the employee as a supplier in the Suppliers window
3.      Define Expense Report Template
4.      Define Expense Report
5.      Run Payable Invoice Import Report
6.      Pay for the Expenses
7.      In case of Prepayment, Adjust the Expenses booked in the Expense report by applying the same to the Expense report.
8.      Modify the Expense Report

·         Recurring Invoices
1.      Create a Recurring Invoice Template.
2.      Define it using Functional / Foreign currency.
3.      Create Recurring Invoices.
4.      Create a Recurring Invoice Template adding a Withholding Tax.
·         Holds
1.      Go to Setup and define the Hold and the associated Release.
2.      Create Holds
F Invoice Hold
F Scheduled Payment Hold
F Supplier Hold
3.      Run Invoice On Hold Report & the Matching Hold Detail Report
4.      Release the Holds

1.      Tax Types & Codes
Define your own tax type in the Lookups window. And create tax codes for each tax type.
2.      Set up the Tax code default options to provide a default tax codes.
3.      Create an Item distribution and a single tax distribution with same tax code.
4.      Create an Item distribution and multiple tax distribution with different tax code.        
5.      Set up the Tax Tolerance, Percentage based and Amount based. Create an invoice where the tax
6.      Enter the Tax Distribution in any of the following ways:
F Automatically
F Manually
F Using Distribution Sets
F Matching Invoice to Purchase Order
F Allocating
7.      Using Automatic Tax Calculation
F At the Header Level
F At the Line/Distribution Level
F At the Line/Distribution Level and prorating the tax amount across the distribution.
8.      Offset Taxes
F Define an Offset Tax and associate it with user defined tax/Sales Tax.
F Create offset tax line manually or automatically.
9.      Define a Recoverable tax and user type tax and raise an invoice using the tax type defined.
S.No
Test Transactions
1)
·         Click Require Tax entry at Header level in Payable Options                                              
·         Enable Recovery Tax in Payable options and keep it Zero Value
·         Withholding Tax Click 'Never' for Apply or create withholding Tax invoice.
2)
·         1) + Enable Withholding Tax Computation at Invoice Approval Time and Disable "Recoverable Tax" in Financial Options.
3)
·         2) + Allow withholding tax invoice creates on approval time.
·         Enable 'include tax amount' in withholding tax payable options.
4)
·         3) + Enable Use Automatic Tax Calculation and enable Tax entry at Header level.
5)
·         4) + Disable "Require Tax entry at Header" keeping every thing else the same.
6)
·         5) + Enable Allow Calculation level Override in Payable options and Supplier level keeping everything else the same.
7)
·         6) + Enable Automatic tax computation to Tax Code Level in both payable options and Supplier Site level.
8)
·         7) + Enable Automatic tax computation to Line Level in both payable options and Supplier Site level.
9)
·         Give a recovery rate in Tax Code and enable "Recoverable Tax" in Tax Tab of Financial options.
10)
·         Enable "Distribution Amount Includes Tax "in Payable Options and at "supplier Level". Also enable "Allow Overide" in Payable Options Invoice Tax Tab.
11)
Offset Tax :
·         Enable "Use Offset Tax" in Supplier site window. Let Tax Code mentioned at Supplier site level remains with the Sales Tax Code.
·         Create a Tax Code for Offset Tax and mention the same account what you have mentioned for Sales Tax Code and attach it to a Sales tax code. Give a percentage in negative figure.
·         Disable Recoverable Tax in Financial Options Window.
·         Disable "Distribution Amount Includes Tax" in Payable Options and Supplier Site level or Allow Override in Payable Options and Disable "Includes Tax" at Invoice Distributions Level.
12)
Use Tax:
·         Use Tax Only creates Information as to what would be the amount payable to the Government as Tax. This would not create any accounting entry or a distribution in Invoice Distributions.
·         Keep everything as the same and just assign use tax at supplier level or Invoice Level and approve and pay the invoice.

5.      Payment Workbench
-          Payment Batches
-          Refunds
-          Future Dated Payments
-          Adjust & Reviewing Payment

1.      Make Payment to Invoices using Manual Payment, Quick Payments and Clearing Payments.
2.      Create an Invoice and make payments from the Invoice Workbench.
3.      Make Payments to Multiple Invoices from the Invoice Workbench.
4.      Make a Payment and Match it to an Invoice.
5.      Record a Zero-Amount Payment.
6.      Create payment with a payment address different from the supplier site address.

1.      Create a Payment Batch and make the Payments.
2.      Make Payments by defining a Payment Batch Sets.
3.      Modify the Payment Batch Parameters and Payments like removing an invoice, changing payment or discount amounts etc.
4.      Check out the implication of “Allow Zero Invoice” check box..
5.      Cancel a Payment Batch.
6.      Create Invoices with same pay group or payment priority
7.      Create Payment Batches and specify selection criteria as the Pay group or Payment Priority or Pay thru days or manually select invoices for payment.
8.      Attach unique Payment Document for each Payment
9.      Actions to be done in this order: Select Invoices, Build Payments, Format Payments, Confirm Payments, Print Payment Register.
10.  Create a Payment Batch Set by attaching one or more Payment Batches.

1.      Create Refund when there is a credit balance with the customer.
2.      Create Refund when there is no credit balance with the customer.
3.      Apply the refunds with the Invoice, Debit Memos, Credit Memos, and Expense Reports.
4.      Check the Accounting Impact.
5.      Avail Discounts on the Refund.
6.      Void a Recorded Refund.


1.      Define future dated payments a/c in GL
2.      Specify the future date payment a/c in the financial options
3.      Specify from where future dated payment a/c should be taken (from supplier or payments document) in the Payable option – payment accounting tab region.
4.      Specify when future dated payment liability is to be relieved in the Reports tab of the Payables Option.
5.      Give the future dated payment account in the specific supplier site.
6.      Define automatic future dated payment program
7.      Create separate payment formats for future date payment and use the future dated payment program.
8.      Define payment documents using the future dated payment formats.
9.      Set the Update Matured Future Dated Payment Status program to be run on a periodic basis.
10.  After the payment status has been updated to negotiable – it will be available for clearing in cash management.
11.  Check the Computation of maturity date for batch payments.
Where always take discount option is enabled/not enabled, and
F Where discounts are available
F If group by due date is given
F If the option is not enabled
F If always take discount option is enabled

1.      Find payments in the Payment Workbench through entering query criteria or by using the find payments window.
2.      Update the selected Invoices for payments, and also the customer address.
3.      Initiate a Stop Payment
4.      Try initiating a stop payment on prepayments applied to an Invoice.
5.      Void the Payment and see its impact on the invoice.

6. Accounting Entries
-          Creating Accounting Entries
-          Updating Accounting Entries
-          Viewing Accounting Entries

1.      By submitting a batch program.
2.      From the transaction window.
Use the Update Accounting Entries window to view accounting entries and update any invalid accounts. The only updatable fields in this window are Account and Description.

1.      Viewing Accounting Lines Directly.
2.      Viewing Invoice Accounting/ Payment Accounting
F Invoices/Payment windows
F Update Accounting Entries window
F Drilling down from OGL.
1.      Run Payables Transfer to GL Program.
2.      In Oracle General Ledger, submit Journal Import to update the General Ledger Balances.
3.      Post the journal entries in OGL.
4.      Drill down to the related transaction in Oracle Payables from Oracle General Ledger.

7.      Programs, Reports & Listings
-          General
-          Suppliers Report
-          Invoice Report
-          Payment Report
-          Listings

Run the following programs, reports and listing
F Mass Addition Create Program
F Unaccounted Transactions Sweep Program
F New Supplier Listing
F Supplier Paid Invoice History Report
F Supplier Payment History Report
F Supplier Merge Program
F Invoice Aging Report
F Invoice Audit Listing
F Invoice on Hold Report
F Invoice Register
F Credit Memo Matching Report
F Recurring Invoices Report
F Prepayment Status Report
F Discounts Available
F Discounts Taken & Lost Report
F Payment Register
F Stopped Payment Register
F Void Payment Register

F Accounts Payable TB Report
F Payable Accounts Analysis Reports
F Posted Invoice Register
F Posted Payment Register
F Bank Account Listing
F Distribution Set Listing
F Expense Report Template Listing
F Payment Terms Listing

8.      Payables Invoice Import
Data are imported from external sources and stored in the Payables Invoice Import Interface Tables. On running the Payables Invoice Import program, Oracle Payables creates invoices. The various sources for importing are:
F Self Service
F Oracle Payables
F Oracle Projects
F User Defined
On import of information from the interface table, Payables creates the following reports:
F Payables Invoice Import Report
F Payables Invoice Import Exceptions Report
F Payables Invoice Import Prepayments Applied Report
Importing Expense Report from Oracle Projects
1.      Enter expense reports in Oracle Projects.
2.      Run Oracle Projects Distribute Expense Report Costs Process to calculate the amount and generate accounts.
3.      Submit Oracle Projects Interface Expense Reports to Payables process to transfer expense reports to the Payables Invoice Interface Tables.
4.      If the Create Employee as Supplier Payables option is not enabled, manually enter the employee as a supplier in the Suppliers window.
5.      You then submit the Oracle Projects Tieback Expense Reports from Payables process to tieback expense report costs to ensure that your Oracle Projects data loaded successfully.
Importing Invoices from Other Accounting System
1.      Create or modify the invoice flat file that contains the information you want to import.
2.      Run SQL*Loader.
F Indicate your control file as the SQL*Loader control file,
F Invoice flat file as the SQL*Loader input file, and
F Payables SQL*Plus username and password as the database sign on.
3.      Define a new Source lookup value to identify the source of the invoices.
4.      Enter Suppliers and Supplier sites in the Payables Suppliers window.
5.      Enter code combinations for expense and liability accounts in the Define Accounting Flexfield Combination window.
6.      If you want to purge your interim records from the Payables Invoice Import Interface Tables, set the purgeable flag in AP_EXPENSE_REPORT_HEADERS to Yes.

Purge data
To Purge data from the Payables Invoice Import Interface Tables, enter a purge date with a selection criterion. Payables will purge the data based on the above.
F To purge data imported from Payables Expense Reports & Self Service
1.      Enter the Purge Date
2.      Payables will delete the records entered before this date & already imported.
F To purge data imported from Oracle Projects
1.      Enter the purge date
2.      Payables will delete all Oracle Projects expense reports that were
Þ    Entered before this date,
Þ    Already been imported and
Þ    Tied back to the original expense report in Oracle Projects.
F To purge data imported from User Defined
1.      Set the purgeable flags in the Tables to Yes,
2.      Enter the purge date
3.      Payables will delete all records for expense reports and invoices that were entered before this date and have been imported.

9.      Payables Open Interface Import
Use this program to create invoices in Oracle Payables from the data in the Payables Open Interface Tables. The external sources for the data:
F Invoice Gateway.
F Supplier invoices transferred through Oracle e– Commerce Gateway.
F Invoices you load from other accounting systems with a custom SQL*Loader program.
F Credit card transactions you have transferred using the Credit Card Invoice Interface Summary.
F Lease invoices you have transferred from Oracle Property Manager.



#########################################################################################################################################################################################################################################################################################################
#################################################
How To Use SQL Loader to Populate the Payables Open Interface Tables
The following information provides a basic example of a SQL Loader program along with the information necessary to accurately populate the Open Interface tables to load various types of invoices. Note that you will need to decide which type of invoice you are trying to load and follow the appropriate example. For instance, you will choose either a PO matched invoice OR a Project Related Invoice…not both. The reason being that the account information is provided either by the Project information OR the PO information - not both.
Please pay close attention to the information associated with the required fields for the particular type of invoice you are trying to load into the Open Interface table. In addition, there will be indications to choose either one OR the other field – not both, as this will cause a problem during import of the data. We will discuss the following 3 types of invoices:



A. Example of a SQL*Load program used to populate an invoice in AP
Invoices Interface tables:
DECLARE
    p_invoice_id       NUMBER;
    i                           NUMBER;
BEGIN
    -- Get invoice_id --
    select AP_INVOICES_INTERFACE_S.nextval
    into p_invoice_id
    from dual;
    -- Insert an invoice header --
    insert into ap_invoices_interface
    (invoice_id,
     invoice_num,
     invoice_type_lookup_code,
     vendor_id,
     vendor_site_id,
     invoice_amount,
     invoice_currency_code,
     source,
     group_id)
    VALUES
    (p_invoice_id,
     'testcase1',
     'STANDARD',
     2,
     2,
     10,
     'USD',
     'INVOICE GATEWAY',
     'testcase1');
    -- Insert invoice line --
    for i in 1..10 loop
      INSERT into ap_invoice_lines_interface
      (invoice_id,
       invoice_line_id,
       line_number,
       line_type_lookup_code,
       amount,
       dist_code_combination_id)
      VALUES
      (p_invoice_id,
       AP_INVOICE_LINES_INTERFACE_S.nextval,
       i,
       'ITEM',
      1,
       12831);
    end loop;
 commit;
END;
 /



1. Simple Invoice:
 Note: You should not populate any PO or PA related columns for a simple
 invoice. Here are the tables and reference columns identified for use when
 populating data for a simple invoice:
AP_INVOICE_INTERFACE TABLE
============================
    Required Columns
    ==============
    INVOICE_ID
             (Populated from AP_INVOICES_INTERFACE_S.NEXTVAL)
    INVOICE_NUM
              (Must be unique to the supplier)
    VENDOR_ID or VENDOR_NUM or VENDOR_NAME
               (An active vendor. Validated against PO_VENDORS, you should only
                populate one of these columns for vendor info for the data consistence)
    VENDOR_SITE_ID or VENDOR_SITE_CODE
               (An active pay site. Validated against PO_VENDOR_SITES, you should
                only populate one of these columns for vendor site info for data consistency)
    INVOICE_AMOUNT
             (Positive amount for 'STANDARD' type, Negative amount for 'CREDIT' type)
    ORG_ID
              (Required in Multi-Org Environment. Validated against
               AP_SYSTEM_PARAMETERS.ORG_ID)
    SOURCE
              (Must be in SELECT LOOKUP_CODE FROM
               AP_LOOKUP_CODES WHERE LOOKUP_TYPE = 'SOURCE')
 
    Optional Columns – If you do not  populate them, then the value will be defaulted as indicated:
    =====================================================================
    INVOICE_DATE
            (Defaulted to SYSDATE)
    INVOICE_TYPE_LOOKUP_CODE
             (Defaulted to 'STANDARD')
    INVOICE_CURRENCY_CODE
             (Defaulted from PO_VENDOR_SITES.INVOICE_CURRENCY_CODE)
    TERMS_ID or TERMS_NAME
             (Defaulted from PO_VENDOR_SITES.TERMS_ID, if you populate it,
              should populate one of  them)
    DOC_CATEGORY_CODE
            (Only populated if using automatic voucher number)
    PAYMENT_METHOD_LOOKUP_CODE
            (Defaulted from PO_VENDOR_SITES.PAYMENT_METHOD_LOOKUP_CODE)
    PAY_GROUP_LOOKUP_CODE
            (Defaulted from PO_VENDOR_SITES.PAY_GROUP_LOOKUP_CODE)
    ACCTS_PAY_CODE_COMBINATION_ID
            (Defaulted from PO_VENDOR_SITES.ACCTS_PAY_CODE_COMBINAITON_ID)
    GROUP_ID
            (Group identifier. Suggested to use)
    STATUS
            (DO NOT POPULATE!!!)
    EXCHANGE_RATE_TYPE
            (Defaulted from AP_SYSTEM_PARAMETERS.DEFAULT_EXCHANGE_RATE_TYPE
             if the invoice is using foreign currency)
 
AP_INVOICE_LINES_INTERFACE TABLE
 ==================================
    Required Columns for LINE_TYPE_LOOKUP_CODE = 'ITEM'
    ================================================
    INVOICE_ID
           (Populated from AP_INVOICES_INTERFACE.INVOICE_ID)
    INVOICE_LINE_ID
           (Populated from AP_INVOICE_LINES_INTERFACE_S.NEXTVAL)
    LINE_NUMBER
           (A unique number  to the invoice)
    LINE_TYPE_LOOKUP_CODE
                ('ITEM')
    AMOUNT
    ACCOUNTING_DATE
             (Optional. Defaulted from INVOICE_DATE or SYSDATE)
   DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID
              (You should only populate one of them)
               DIST_CODE_CONCATENATED needs to meet security rules, no parent segment.
               DIST_CODE_COMBINATION_ID must be in
               SELECT CODE_COMBINATION_ID FROM GL_CODE_COMBINATIONS
               WHERE ACCOUNT_TYPE = 'E' AND ENABLED_FLAG = 'Y' AND
               SUMMARY_FLAG = 'N' AND SYSDATE BETWEEN NVL
               (START_DATE_ACTIVE, SYSDATE-1) AND NVL(END_DATE_ACTIVE,
               SYSDATE+1))
    Required /Optional Columns for LINE_TYPE_LOOKUP_CODE = 'TAX'
    =========================================================
    INVOICE_ID
           (Populated from AP_INVOICES_INTERFACE.INVOICE_ID)
    INVOICE_LINE_ID
           (Populated from AP_INVOICE_LINES_INTERFACE_S.NEXTVAL)
    LINE_NUMBER
           (A unique number to the invoice)
    LINE_TYPE_LOOKUP_CODE
            ('TAX')
    TAX_CODE or TAX_CODE_ID
            (Validated against AP_TAX_CODES, you should only populate one of them)
    AMOUNT
    ACCOUNTING_DATE
             (Optional. Defaulted from INVOICE_DATE or SYSDATE)
   DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID
             (Optional.  Defaulted from AP_TAX_CODES.TAX_CODE_COMBINATION_ID)
              You should only populate one of them if you need to populate it yourself.
              DIST_CODE_CONCATENATED needs to meet security rules, no parent segment.
              DIST_CODE_COMBINATION_ID must be in
              SELECT CODE_COMBINATION_ID FROM GL_CODE_COMBINATIONS
              WHERE ACCOUNT_TYPE = 'E' AND ENABLED_FLAG = 'Y' AND SUMMARY_FLAG = 'N'
              AND SYSDATE BETWEEN NVL(START_DATE_ACTIVE, SYSDATE-1) AND NVL(END_DATE_ACTIVE,
              SYSDATE+1))
 
  Required/Optional Columns for LINE_TYPE_LOOKUP_CODE = 'FREIGHT'
    ============================================================
    INVOICE_ID
         (Populated from AP_INVOICES_INTERFACE.INVOICE_ID)
    INVOICE_LINE_ID
         (Populated from AP_INVOICE_LINES_INTERFACE_S.NEXTVAL)
    LINE_NUMBER
         (A unique number to the invoice)
    LINE_TYPE_LOOKUP_CODE
         ('FREIGHT')
    AMOUNT
    ACCOUNTING_DATE
          (Optional. Defaulted from INVOICE_DATE or SYSDATE)
    DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID
          (Optional.  Defaulted from AP_SYSTEM_PARAMETERS.FREIGHT_CODE_COMBINATION_ID)
           You should only populate one of them if you need to populate it yourself.
           DIST_CODE_CONCATENATED needs to meet security rules, no parent segment.
           DIST_CODE_COMBINATION_ID must be in
          SELECT CODE_COMBINATION_ID FROM GL_CODE_COMBINATIONS
          WHERE ACCOUNT_TYPE = 'E' AND ENABLED_FLAG = 'Y' AND
          SUMMARY_FLAG = 'N' AND SYSDATE BETWEEN
         NVL(START_DATE_ACTIVE, SYSDATE-1) AND NVL(END_DATE_ACTIVE, SYSDATE+1))


2. PO Matched Invoice:
You should not populate DIST_CODE_COMBINATION_ID, DIST_CODE_CONCATENATED
or any PA related column for PO matched invoices.
There are two ways to match an invoice to a Purchasing Order:
1. Matching to a PO shipment (MATCH_OPTION = ‘P’)
2. Matching to a PO receipt (MATCH_OPTION = ‘R’).
Here are the tables and reference columns identified for use when populating data for a PO matched invoice:
AP_INVOICE_INTERFACE TABLE
=============================
    Required Columns
    ==============
   INVOICE_ID
         (Populated from AP_INVOICES_INTERFACE_S.NEXTVAL)
    INVOICE_NUM
         (Must be unique to the supplier)
    PO_NUMBER
           (An approved, not cancelled, not closed or final closed PO. Validated against PO_HEADERS)
    INVOICE_AMOUNT
    SOURCE
          (Must be in SELECT LOOKUP_CODE FROM AP_LOOKUP_CODES WHERE LOOKUP_TYPE = 'SOURCE')
    ORG_ID
         (Required in Multi-Org Environment. Validated against AP_SYSTEM_PARAMETERS.ORG_ID)
   Optional Columns
   ==============
    INVOICE_DATE
         (Defaulted to SYSDATE)
    INVOICE_TYPE_LOOKUP_CODE
          (Defaulted to 'STANDARD')
    INVOICE_CURRENCY_CODE
          (Defaulted from PO_VENDOR_SITES.INVOICE_CURRENCY_CODE)
    EXCHANGE_RATE_TYPE
          (Defaulted from AP_SYSTEM_PARAMETERS.DEFAULT_EXCHANGE_RATE_TYPE)
    TERMS_ID or TERMS_NAME
          (Defaulted from PO_VENDOR_SITES.TERMS_ID, should only populate one of them)
    DOC_CATEGORY_CODE
          (Only populated if using automatic voucher number)
    PAYMENT_METHOD_LOOKUP_CODE
         (Defaulted from PO_VENDOR_SITES.PAYMENT_METHOD_LOOKUP_CODE)
    PAY_GROUP_LOOKUP_CODE
          (Defaulted from PO_VENDOR_SITES.PAY_GROUP_LOOKUP_CODE)
    ACCTS_PAY_CODE_COMBINATION_ID
          (Defaulted from PO_VENDOR_SITES.ACCTS_PAY_CODE_COMBINAITON_ID)
    GROUP_ID
         (Group identifier. Suggested to use)
    STATUS
          (DO NOT POPULATE !!!!)
  AP_INVOICE_LINES_INTERFACE TABLE
  ===================================
    Required Columns for PO Matched Lines
    =====================================
    INVOICE_ID
          ( Populated from AP_INVOICES_INTERFACE.INVOICE_ID)
    INVOICE_LINE_ID
         (Populated from AP_INVOICE_LINES_INTERFACE_S.NEXTVAL)
    LINE_NUMBER
         (A unique number to the invoice)
    LINE_TYPE_LOOKUP_CODE
         ('ITEM')
    AMOUNT
         (Should be QUANTITY_INVOICED * UNIT_PRICE)
 
   If MATCH_OPTION is 'P', then populate:
   ===============================
   RELEASE_NUM or PO_RELEASE_ID
        (For Blanket Release only, validated against PO_RELEASES)
   PO_NUMBER or PO_HEADER_ID
         (Validated against PO_HEADERS, should only populate one of them.)
   PO_LINE_NUMBER or PO_LINE_ID
         (Validated against PO_LINES, should only populate one of them.)
   PO_SHIPMENT_NUM or PO_LINE_LOCATION_ID
         (Validated against PO_LINE_LOCATIONS, should only populate one of them.)
    If MATCH_OPTION is 'R', then populate:
    ================================
    RECEIPT_NUMBER
         (Validated against RCV_SHIPMENT_HEADERS.RECEIPT_NUM)
    RCV_TRANSACTION_ID or PO_LINE_LOCATION_ID
         (Validated against RCV_TRANSACTIONS, should only populate one of them)
    Optional Columns for PO Matched Lines
    =====================================
    QUANTITY_INVOICED
         (Populated if different from PO shipment)
    UNIT_PRICE
         (Populated if different from PO shipment)
    MATCH_OPTION
         ('P' or 'R' or Defaulted from PO_VENDOR_SITES.MATCH_OPTION)
    ACCOUNTING_DATE
         (Defaulted from INVOICE_DATE or SYSDATE)
    FINAL_MATCH_FLAG
         (Populated 'Y' if it is final matching)
    INVENTORY_ITEM_ID
         (Validated against PO_LINES.INVENTORY_ITEM_ID)
    INVENTORY_DESCRIPTION
         (Validated against PO_LINES.INVENTORY_ITEM_DESCRIPTION)
    SHIP_TO_LOCATION_CODE
         (Populated if different from PO shipment)
    PRICE_CORRECTION_FLAG
         (Populated 'Y' if it is price correction)



3. Project Related Invoices
You should not populate DIST_CODE_COMBINATION_ID,
DIST_CODE_CONCATENATED or any PO related column for project related invoices.
 
 You need to populate
 PROJECT_ID
 TASK_ID
 EXPENDITURE_TYPE
 EXPENDITURE_ITEM_DATE
 EXPENDITURE_ORGANIZATION_ID
 PA_QUANTITY
Payables Open Invoice Import will pass this project information data into the Project Account Generator
to generate an account foy you. Here are the reference columns which are required for
populating a project related invoice:
AP_INVOICE_INTERFACE TABLE
  ============================
    Required Columns
    ==============
    INVOICE_ID
         (Populated from AP_INVOICES_INTERFACE_S.NEXTVAL)
    INVOICE_NUM
         (Must be unique to the supplier)
    VENDOR_ID or VENDOR_NUM or VENDOR_NAME
         (An active vendor. Validated against PO_VENDORS, should only populate one of them)
    VENDOR_SITE_ID or VENDOR_SITE_CODE
         (An active pay site. Validated against PO_VENDOR_SITES, should only populate one of them)
    INVOICE_AMOUNT
         (Positive amount)
    ORG_ID      (Required in Multi-Org Environment. Validated against AP_SYSTEM_PARAMETERS.ORG_ID)
    SOURCE
          (Must be in SELECT LOOKUP_CODE FROM AP_LOOKUP_CODES WHERE LOOKUP_TYPE = 'SOURCE')
Optional Columns
    ================
    INVOICE_DATE
         (Defaulted to SYSDATE)
    INVOICE_TYPE_LOOKUP_CODE
         (Defaulted to 'STANDARD')
    INVOICE_CURRENCY_CODE
         (Defaulted from PO_VENDOR_SITES.INVOICE_CURRENCY_CODE)
    EXCHANGE_RATE_TYPE
         (Defaulted from AP_SYSTEM_PARAMETERS.DEFAULT_EXCHANGE_RATE_TYPE)
    TERMS_ID or TERMS_NAME
         (Defaulted from PO_VENDOR_SITES.TERMS_ID)
    DOC_CATEGORY_CODE
         (Only populated if using automatic voucher number)
    PAYMENT_METHOD_LOOKUP_CODE
         (Defaulted from PO_VENDOR_SITES.PAYMENT_METHOD_LOOKUP_CODE)
    PAY_GROUP_LOOKUP_CODE
         (Defaulted from PO_VENDOR_SITES.PAY_GROUP_LOOKUP_CODE)
    ACCTS_PAY_CODE_COMBINATION_ID
         (Defaulted from PO_VENDOR_SITES.ACCTS_PAY_CODE_COMBINAITON_ID)
    GROUP_ID
         (Group identifier. Suggest to use it)
    STATUS
         (DO NOT POPULATE !!!)
 
  AP_INVOICE_LINES_INTERFACE TABLE
  ===================================
    Required Columns for project related lines
    ===============================
    INVOICE_ID
         (Populated from AP_INVOICES_INTERFACE.INVOICE_ID)
    INVOICE_LINE_ID
         (Populated from AP_INVOICE_LINES_INTERFACE_S.NEXTVAL)
    LINE_NUMBER
         (A unique number to the invoice)
    LINE_TYPE_LOOKUP_CODE
         ('ITEM')
    AMOUNT
    PROJECT_ID
         (Validated against PA_PROJECTS.PROJECT_ID)
    TASK_ID
         (Validated against PA_TASKS.TASK_ID)
    EXPENDITURE_TYPE
         (Validated against PA_EXPENDITURE_TYPES.EXPENDITURE_TYPE)
    EXPENDITURE_ITEM_DATE
         (Needs to be between the task start date and end date)
    EXPENDITURE_ORGANIZATION_ID
         (Validated against PA_EXP_ORGS_IT.ORGANIZATION_ID)
    PA_QUANTITY
    Optional Columns for project related lines
    ==========================================
    ACCOUNTING_DATE
          (Defaulted from Invoice Date or SYSDATE)
    PA_ADDITION_FLAG
         ('Y' if the distribution has been transferred into Oracle Projects) 

No comments:

Post a Comment