Procure to Pay Tables and Data Flow

Vendors

 

SELECT * FROM ap_vendors_v WHERE vendor_name = 'XX_VENDOR'; select * from po_vendors where vendor_name = 'XX_VENDOR';

Requisitions

    

select segment1, type_lookup_code,a.* from po_requisition_headers_all a where requisition_header_id = &Requisition_Header_ID; select * from po_requisition_lines_all where requisition_header_id = &Requisition_Header_ID and requisition_line_id = &Requisition_Line_ID; select * from po_req_distributions_all where requisition_line_id = &Requisition_Line_ID; select * from po_document_types where document_subtype = 'PURCHASE';--(po_requisition_headers_all .type_lookup_code) select * from po_lookup_codes where lookup_type = 'AUTHORIZATION STATUS';

PO tables

       

select * from po_headers_all where po_header_id = &the_PO_Header_ID; select * from po_lines_all where po_header_id =&the_PO_Header_ID; select * from po_line_locations_all where po_header_id = &the_PO_Header_ID; select * from po_distributions_all where po_header_id = &the_PO_Header_ID; select * From po_headers_all where po_header_id = &po_header_id; select * from po_lines_all where po_line_id = &po_line_id; select * from po_line_locations_all where po_header_id = &po_header_id; select * from po_distributions_all where req_distribution_id = po_req_distributions_all.distribution_id get the Po_Distribution_ID

// you can

Receiving

   

select * from rcv_transactions where po_header_id = &the_PO_Header_ID and po_distribution_id = &Po_Distribution_ID; select * from rcv_shipment_headers where shipment_header_id = rcv_transaction.shipment_header_id; select * from rcv_shipment_lines where where shipment_header_id = rcv_transaction.shipment_header_id; select * from rcv_serial_transactions where transaction_id = rcv.transactions.transaction_id;

Receiving transaction Processor import

AP Invoices and Payments

      

select * from ap_invoice_distributions_all where po_distribution_id = &Po_Distribution_ID; select * from ap_invoices_all where invoice_id = &Invoice_ID; select * from ap_terms where term_id = &Term_ID; select * from ap_invoice_payments_all where invoice_id = &Invoice_ID; select * from ap_payment_schedules_all where invoice_id = &Invoice_ID; select * from ap_payment_distributions_all where invoice_payment_id in (select invoice_payment_id from ap_invoice_payments_all where invoice_id = &Invoice_ID); select * from ap_checks_all where check_id = &Check_ID;

Accounting Entries

 

select * from ap_ae_lines_all where source_table = 'AP_INVOICES' and source_id = &Invoice_ID; -(ap_invoices_all.invoice_id) select * from ap_ae_headers_all where ae_header_id = &ae_header_ID;

Reconciling Bank Accounts in Cash Management Module

 

select * from ce_statement_headers_all where statement_header_id =&statement_header_id select * from ce_statement_lines where statement_header_id in (select statement_header_id from ce_statement_headers_all where statement_header_id =&statement_header_id)

Concurrent Program "Payables Transfer to General Ledger"

select * from gl_interface;

Import Journal

  

select * from gl_je_batches; select * from gl_je_headers; select * from gl_je_lines;

Post Journals "Posting"

select * from gl_balances;

Requisition Screen Header

    

select * from PO_REQUISITION_HEADERS_INQ_V where requisition_num = '&Requisition_Number'; select * from PO_REQUISITION_LINES_INQ_V where requisition_header_id = &Requisition_Header_ID; select * from PO_REQUISITION_HEADERS_V where requisition_number = '&Requisition_Number'; select * from PO_REQUISITION_LINES_V where requisition_header_id = &Requisition_Header_ID; select * from PO_REQ_DISTRIBUTIONS_V where requisition_line_id in (select requisition_line_id from PO_REQUISITION_LINES_V where requisition_header_id = &Requisition_Header_ID);

Puchasing and Payables integration : Technical tables

PO_VENDORS This table stores information about your suppliers. Oracle Purchasing uses this information to determine active suppliers. The primary key is VENDOR_ID. PO_VENDOR_SITES_ALL This table stores information about supplier sites. Oracle Purchasing uses this information to store supplier address information. The primary key is VENDOR_SITE_ID. PO_VENDOR_CONTACTS This table stores information about supplier site contacts. The primary key is VENDOR_CONTACT_ID. PO_REQUISITION_HEADERS_ALL PO_REQUISITION_HEADERS_ALL stores information about requisition headers. Each row contains the requisition number, preparer status, and description. It is one of three tables that stores requisition information. The primary key is REQUISITION_HEADER_ID. PO_REQUISITION_LINES_ALL This table stores information about requisition lines. Each row contains the line number, item number, item category, item description, need-by date, deliver-to location, item quantities, units, prices, requestor, notes, and suggested supplier information for the requisition line. This table is one of three tables that stores requisition information. The primary key is REQUISITION_LINE_ID. PO_REQ_DISTRIBUTIONS_ALL PO_REQ_DISTRIBUTIONS_ALL stores information about the accounting distributions associated with each requisition line. Each requisition line must have at least one accounting distribution. Each row includes the Accounting Flex field ID and requisition line quantity. This table is one of three tables that stores requisition information. The primary key is DISTRIBUTION_ID. PO_HEADERS_ALL PO_HEADERS_ALL contains information for your purchasing documents. Each row contains buyer information, supplier information, notes, foreign currency information, terms and conditions information, and the document status. Oracle Purchasing uses this information to record information related to a complete document. The primary key is PO-HEADER_ID. PO_LINES_ALL PO_LINES_ALL stores current information about each purchase order line. You need one row for each line you attach to a document. Each row includes the line number, item number and category unit, price, tax information, and quantity ordered for the line. Oracle Purchasing uses this information to record and update item and price information for purchase orders, quotations, and RFQs. The primary key is PO_LINE_ID. PO_LINE_LOCATIONS_ALL This table contains information about purchase order shipment schedules and blanket agreement price breaks. You must have one row for each schedule or price break you attach to a document line. Each row contains the location, quantity, and dates for each shipment schedule. Oracle Purchasing uses this information to record delivery schedule information for purchase orders and price break information for blanket purchase orders, quotations, and RFQs. The primary key is LINE_LOCATION_ID.

PO_DISTRIBUTIONS_ALL PO_DISTRIBUTIONS_ALL contains accounting information for a purchase order shipment line. Oracle Purchasing uses this information to record accounting and requisition information for purchase orders and releases. It is one of five tables that stores purchase orders and releases. The primary key is PO_DISTRIBUTION_ID. RCV_SHIPMENT_HEADERS This table stores common information about the source of your receipts or expected receipts. You group your receipts by the source type and the source of the receipt. Oracle Purchasing does not allow you to group receipts from different sources under one receipt header. The primary key is SHIPMENT_HEADER_ID. RCV_SHIPMENT_LINES This table stores information about items that have been shipped or received from a specific receipt source. This table also stores information about the default destination for in-transit shipments. The primary key is SHIPMENT_LINE_ID. RCV_TRANSACTIONS This table stores historical information about receiving transactions that you have performed. When you enter a receiving transaction and the receiving transaction processor processes your transaction, the transaction is recorded in this table. Once a row has been inserted into this table, it will never be updated. When you correct a transaction, the net transaction quantity is maintained in RCV_SUPPLY. The original transaction does not get updated. You can only delete rows from this table using the Purge feature of Oracle Purchasing. The primary key is TRANSACTION_ID. PO_RELEASES_ALL This table contains information about blanket and planned purchase order releases. You need one row for each release you issue for a blanket or planned purchase order. Each row includes the buyer, date, release status, and release number. Each release must have at least one purchase order shipment (PO_LINE_LOCATIONS_ALL). The primary key is PO_RELEASE_ID. AP_INVOICES_ALL This table contains records for supplier invoices and has one row for each invoice. To pass Invoice Validation, the INVOICE_AMOUNT in the AP_INVOICES_ALL table must equal the sum of the AMOUNT columns in the AP_DISTRIBUTIONS_ALL table. The primary key is INVOICE_ID. AP_INVOICE_DISTRIBUTIONS_ALL This table holds the distribution line information. There is a row for each invoice distribution. If matching is used, distribution information is copied from PO_DISTRIBUTIONS_ALL during the matching process. AP_PAYMENT_SCHEDULES_ALL This table contains information about scheduled payments for an invoice. Oracle Payables uses this information to determine when to make payments on an invoice and how much to pay in an automatic payment batch. AP_HOLDS_ALL This table contains a record for each hold placed on an invoice.An invoice might have multiple records in this table.An invoice cannot be paid until all holds placed on it have been released. AP_CHECKS_ALL This table stores information about payments issued to suppliers.Each row includes the supplier name, address, and bank account name for auditing purposes, in case any of them change after you make the payment.If the payment is electronic, the supplier bank account information is stored in the payment record. AP_INVOICE_PAYMENTS_ALL This table provides the link between a payment (CHECK_ID) and the invoice(s) paid by that payment.This table contains records of invoice payments that you make to suppliers. Oracle Payables updates this table when you confirm an automatic payment batch, enter a manual payment, or process a Quick Payment. This table contains one row for each payment made for each invoice.Void payments are also entered into this table as a negative record of the original payment line. AP_BANK_ACCOUNTS_ALL This table stores information about your bank accounts and your suppliers’ and customers’ bank accounts. This table contains one row for every bank account, whether it is an internal (supplier) or external (customer) account. AP_BANK_BRANCHES This table stores information about the bank branches and details about the branches.

Sign up to vote on this title
UsefulNot useful