Professional Documents
Culture Documents
In order to look at how the INCIAP report works, we need to start in Accounts receivable.
INCIAP looks at the ra_customer_trx_lines_all table for records that have
interface_line_context of INTERCOMPANY and interface_line_attribute15 of Y
Important columns for INCIAP
Column Name
interface_line_context
Meaning /Value
INTERCOMPANY
interface_line_attribute1
interface_line_attribute2
interface_line_attribute3
interface_line_attribute4
interface_line_attribute5
interface_line_attribute6
interface_line_attribute7
interface_line_attribute8
interface_line_attribute9
interface_line_attribute10
Sales Order
Sales Order Line Number
MMT organization_id
Selling Organization ID
Shipping Organization ID
Sales Order line_id
Mmt transaction_id
orderOrgId
Unsure what the value is
'1' internal sales order
or '0' internal sales order.
interface_line_attribute11
interface_line_attribute12
interface_line_attribute13
interface_line_attribute14
interface_line_attribute15
Not used
Not used
Not used
Not used
Y if INCIAP has not run
null if the record has been sent to ap
After we have imported the record into Accounts Receivable. We can submit the INCIAP report
The most important part or more specifically the line created by INCIAP report, is the invoice number that will be
created
i.e. Invoice number : 10183-229
Note
The Invoice Number is determined by the profile
'INV: Always suffix inter-Company AP Invoice number
The profile is having the below values.
1. No - this gives the invoice number only, replicating the
AR invoice number exactly.
2. Yes, Org ID - this appends the Org ID of the AR invoice to
the AP invoices
3. Yes, Org Id and Seq Number - this appends the Org ID and a
unique sequence number.
The INCIAP report creates a Header row in AP_INVOICES_INTERFACE and the lines for the header
In AP_INVOICE_LINES_INTERFACE.
INVOICE_ID
INVOICE_NUM
2303732 10183-229
The most useful pieces of information AP_INVOICE_LINES_INTERFACE is REFERENCE_2 for the item line
This is the TRANSACTION_ID in MTL_MATERIAL_TRANSACTION
Highlighted in RED to show the data
INVOICE_IDLINE_NUMBER
LINE_TYPE_LOOKUP_CODE
AMOUNT ITEM_DESCRIPTION
DIST_CODE_COMBINATION_ID
REFERENCE_2
2303732
1 ITEM
200 Monitor - 19" 13735 23966616
2303732
2 FREIGHT
6 Freight
357054 4094468
The interface can also be seen in the Application.
Navigation -> Invoices : Entry : Open Interface Invoices
In following interface screen show, I used folder Operation to make the relevant columns closer to gather.
To find your invoice press F11 them you can find a specific invoice i.e. from the INIAP log file
Invoice number : 10183-229 of all with % .
Pressing the Lines button will will show you the lines
Unfortunately the REFERENCE_2 is not shown in the form.