Vous êtes sur la page 1sur 3

Ap invoice interface tables: The Payables Open Interface table descriptions list

the columns in The AP_INVOICES_INTERFACE table, The AP_INVOICE_LINES_INTERFACE


table, The AP_SUPPLIERS_INT table, The AP_SUPPLIER_SITES_INT table.
*****************Import PROGRAMME***************** To use SQL*Loader to populate
the Payables Open Interface tables: 1. For each invoice, the program should
identify the supplier by providing a val ue for at least one of the following
columns: VENDOR_ID, VENDOR_NUM, VENDOR_SITE _ID, or PO_NUMBER. In addition, for
each record, you must populate the following required columns in
AP_INVOICES_INTERFACE: o INVOICE_ID o INVOICE_NUM o INVOICE_AMOUNT o SOURCE. Make
certain that you specify a Source type lookup exactly as yo u entered it in the
Oracle Payables Lookups window. For each invoice line, include the following values
to populate the columns in t he AP_INVOICE_LINES_INTERFACE: o INVOICE_ID o
LINE_TYPE_LOOKUP_CODE o AMOUNT In addition, if you are importing foreign currency
invoices, include information to populate the following columns in
AP_INVOICES_INTERFACE: o EXCHANGE_RATE_TYPE o EXCHANGE_RATE (if you use User-
defined rate type) If this exchange rate information is the same for all invoices
and invoice distr ibutions you import, you can include this information in your
SQL*Loader control file, instead of entering it separately for each invoice.
Finally, ensure that your invoice flat file has the appropriate information to p
opulate AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE as indicated in the
preceding table descriptions. If a value is not required for a column, you may
leave the column empty. For each supplier record, you must populate the following
required columns in AP _SUPPLIERS_INT: o VENDOR_INTERFACE_ID o VENDOR_NAME For each
supplier site record, you must populate the following required columns in
AP_SUPPLIER_SITES_INT: o VENDOR_INTERFACE_ID or VENDOR_ID o VENDOR_SITE_CODE o
ORG_ID and/or OPERATING_UNIT_NAME For each supplier site contact record, you must
populate the following required columns in AP_SUP_SITE_CONTACT_INT: o
VENDOR_SITE_ID or VENDOR_SITE_CODE and ORG_ID and/or OPERATING_UNIT_NAME . o
LAST_NAME

2. Create a SQL*Loader control file.


Read the SQL*Loader documentation to learn how to write a SQL*Loader control fil e.
The file you write will vary greatly depending on the nature and format of th e
invoice or supplier flat file you use. Your control file must populate the ope n
interface tables as indicated in the previous table descriptions. See also: SQ
L*Loader in your Oracle Server documentation. Code your control file to populate
the SOURCE column in AP_INVOICES_INTERFACE wi th the Source code exactly as you
defined it in the Oracle Payables Lookups wind ow. If all your invoices are in the
same currency, you can hard code the value for D EFAULT_CURRENCY_CODE in
AP_INVOICES_INTERFACE and CURRENCY_CODE in AP_INVOICE_LI NES_INTERFACE in your
control file.

3. Use the SQL*Loader program you created to load your invoice or supplier infor
mation from your flat file into the interface tables. Indicate your control file as
the SQL*Loader control file, your invoice or supplier flat file as the SQL*L oader
input file, and your Payables SQL*Plus username and password as the databa se sign
on. For more information see your Oracle server documentation. 4. For invoice
information, use the Open Interface Invoices window to review and edit the data in
the Payables Open Interface tables. 1). 2). 3). 4). AP_INTERFACE_CONTROLS.
AP_INTERFACE_REJECTIONS AP_INVOICE_INTERFACE AP_INVOICE_LINES_INTERFACE.

Vous aimerez peut-être aussi