API For AP Invoice
API For AP Invoice
API For AP Invoice
There is no direct API to create the AP INVOICE so the following methods(Approaches)are used in
creating AP INVOICE:
Step 4: Run the Concurrent Program(Pay On Receipt Auto Invoice) to create the AP Invoice.
Step 3: Create a Control file(SQL Loader) to insert data into the Staging table.
Step 4: Validate and Update the Staging table data into AP_ INVOICES_INTERFACE Table.
Step 5: Run the Concurrent Program(Payable open interface import) to create the AP Invoice.
invoice_id NUMBER,
invoice_num VARCHAR2(100),
po_number VARCHAR2(100),
vendor_id number,
vendor_num NUMBER,
vendor_name VARCHAR2(100),
vendor_site_id NUMBER,
vendor_site_code VARCHAR2(100),
invoice_amount NUMBER,
organization_id NUMBER,
source VARCHAR2(100),
);
invoice_id NUMBER,
invoice_line_id NUMBER,
line_number NUMBER,
line_type_lookup_code VARCHAR2(300),
amount NUMBER,
);
Step 2: Create a Flat file:
AP.csv
Step 3: Create a Control file to insert data into the Staging table.
To insert the data from flat file to staging table the Control file(SQL Loader) is used and it attached as
bellow
AP.ctl
Step 4: Validate and Update the Staging table data into AP_ INVOICES_INTERFACE Table.
Validation.txt
Step 5: Run the Concurrent Program(Payable open interface import) to create the AP Invoice.