You are on page 1of 13

For Intercompany Accounts Payables the INCIAP report provides the accounts used .

The responsibility Payables, Vision Operations (USA) is used for this example.

At the header level the AP liability account is Hit
This Account is not displayed on the form unless you use folder operation to show the account.



To find where the account 01-000-2210-0000-140 comes form we need look at the supplier
information. The field Supplier Num = 1015 shown in 3
rd
column and the Supplier Site Name =
DISTRIBUTION shown in the 5
th
column

Navigation
Supplier : Inquiry
(This open a new window and login for supplier)



This is the login screen



The Supplier screen is shown after login.
WEe will enter our Supplier Num = 1015


The click the Go Button
In the top row we see the the Supplier Site Name = DISTRIBUTION












After clicking on accounting we see the liablity account



If you are looking at Interface data coming in the



If the data is erroring in the interface
Then use the follow in queries to find the
SEGMENT1 = the Supplier number in the form
SELECT VENDOR_ID, VENDOR_NAME, SEGMENT1
from AP_SUPPLIERS
where VENDOR_ID= 41

VENDOR_ID VENDOR_NAME SEGMENT1
----------- ----------- --------
41 Vision 1015

We see the VENDOR_SITE_CODE = DISTRIBUTION we used to find the data
SELECT VENDOR_ID, VENDOR_SITE_ID, VENDOR_SITE_CODE , ACCTS_PAY_CODE_COMBINATION_ID
FROM AP_SUPPLIER_SITES_ALL
WHERE VENDOR_SITE_ID =123

VENDOR_ID VENDOR_SITE_ID VENDOR_SITE_CODE ACCTS_PAY_CODE_COMBINATION_ID
---------------------- ---------------------- ---------------- -----------------------------
41 123 DISTRIBUTION 363055











The invoice has two accounts that are hit the COGS account and a Freight account.
Invoices : Inquiry click on the All Distributions Button.
The click on Accounting to see the liability account.
























The top line with the account 01-740-7610-0000-000 is COGS account the is pulled from the
Transaction Type used on the Sales order in Order Management.
Navigation-> Order Management : Setup : Transaction Types : Define Finance tab.



L























The Freight account is pulled from the Intercompany Relations form
Navigation -> Inventory : Setup : Organizations: Intercompany Transaction Flows click on the
"Intercompany Relations" button

In the section AP invoice for Selling






If we are looking backwards from the AP table



SELECT LINE_TYPE_LOOKUP_CODE, REFERENCE_2
FROM AP_INVOICE_LINES_INTERFACE
WHERE INVOICE_ID = 2308732;
LINE_TYPE_LOOKUP_CODE REFERENCE_2
------------------------- ------------------------------
FREIGHT 4104468
ITEM 24007025

We are looking at the ITEM row the transaction _id = 24007025

We plug into the next sql

select TRX_FLOW_HEADER_ID , TRANSACTION_REFERENCE
From mtl_material_transactions mmt
WHERE MMT.TRANSACTION_ID = 24007025;

TRX_FLOW_HEADER_ID TRANSACTION_REFERENCE
---------------------- ------------------------
878 194958

The TRX_FLOW_HEADER_ID is the MTL_TRANSACTION_FLOW_HEADERS
Navigation -> Inventory : Setup : Organizations: Intercompany Transaction


Select HEADER_ID, START_ORG_ID, END_ORG_ID
FROM MTL_TRANSACTION_FLOW_HEADERS
where HEADER_ID = 878 ;

HEADER_ID START_ORG_ID END_ORG_ID
---------------------- ---------------------- ----------------------
878 229 204
















The TRANSACTION_REFERENCE is the Sale order header _id
SELECT ORDER_NUMBER
FROM OE_ORDER_HEADERS_ALL
WHERE HEADER_ID = 194958;

ORDER_NUMBER
----------------------
66692







select name from ont.OE_TRANSACTION_TYPES_TL
WHERE TRANSACTION_TYPE_ID = ( SELECT ORDER_TYPE_ID FROM OE_ORDER_HEADERS_ALL
where header_id = 194958 );
NAME
------------------------------
Mixed

Transaction Type used on the Sales order in Order Management.
Navigation-> Order Management : Setup : Transaction Types : Define Finance tab.

You might also like