Sunteți pe pagina 1din 7

Running INCIAP

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.

The data in the AP_INVOICE_LINES_INTERFACE is linked to the AP_INVOICES_INTERFACE via the


INVOICE_ID

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 % .

These are the header row in AP_INVOICES_INTERFACE

Pressing the Lines button will will show you the lines
Unfortunately the REFERENCE_2 is not shown in the form.

The next step is to import the record into Accounts payable


Use the Payables, Vision Operations (USA) responsibility

To find our imported we use the navigation:


Invoices : Inquiry : Invoices
In the Invoice section Number field enter your invoice number i.e. 10183-229

The imported invoice : 10183-229


Fortunately the REFERENCE_2 is shown in the form.