EDI Invoice Inbound 810

Release 10.7 and 11.0 Qin Wu Cheryl Ludwig Oracle Support

Abstract This paper provides an overview of the steps to setup and use Oracle EDI Invoice Inbound.

Scope I. Overview of Oracle EDI Gateway II. How to Setup and Use EDI Invoice Inbound III. Troubleshooting

• Provide general code conversion between trading partner codes or standard codes • Define interface data files so that application data can interface with EDI translators • Extract application data, format, and write to data files (outbound transactions) • Import data or converted codes into application open interface tables so that application program interfaces (API) can validate and update Oracle application tables (inbound transactions). A common EDI implementation is via ASCII data files in a batch environment. Data from the sending application is extracted into an application data file. The application data file is received by the translation software which translates it into the EDI standard both trading partners agree upon. Then the EDI data file is placed on a network for transmission to the receiving application. The receiving application's EDI translator receives the EDI data file from the network and begins the file processing in reverse sequence. The translator translates the EDI data file and creates an application data file meaningful to the receiving application. The receiving application receives the application data file for processing and imports the data into the application.
Oracle EDI Gateway Product Architecture

I. Overview of Oracle EDI Gateway
Oracle Applications provides users with the ability to conduct business electronically between trading partners based on the Electronic Commerce standards and methodology. One form of Electronic Commerce is Electronic Data Interchange (EDI). EDI is an electronic exchange of information between trading partners. Data files are exchanged in a standard format to minimize manual effort, speed data processing, and ensure accuracy. The EDI Gateway performs the following functions: • Define trading partner groups and trading partner locations • Enable transactions for trading partners • Provide location code conversion between trading partner location codes and codes used in Oracle Applications

With an open architecture, Oracle Applications allows you to choose the best translation and electronic transmission service for your business

II. How To Setup and Use Oracle EDI Invoice Inbound To use the Oracle EDI Payment Inbound.ora For Example. By defining a trading partner.requirements. The Oracle Applications and the Oracle EDI Gateway places no restriction on your choices. Prerequisite: You have to be on Rel 10. you will need to set utl_file_dir = /sqlcom/inbound in init. cd $ORACLE_HOME/dbs/ vi init.ora add or set: utl_file_dir = /sqlcom/inbound 2. you are using directory "/sqlcom/inbound" as your EDI inbound directory. ** Make sure that everyone has read. perform the following tasks: Step 1. and execute privilege on the directory /sqlcom/inbound. You must then specify these in the INIT. Navigate to Profile -> System -> Set: Site = Yes.1G and 7.odf 1. You can use a commercially available EDI translator and transmission provider or use a proprietary solution. Apply: • Latest EDI patchset • Latest AP patchset . Profile Option "ECE:Inbound Directory" = /sqlcom/inbound Save it.ora Setup ============================ Add an environment variable "utl_file_dir" in $ORACLE_HOME/dbs/init.ora for your database. write. for both inbound and outbound transactions. Note: Setup step 1 and step 2 have to be set to the same directory.ORA file and in the EDI Gateway profile options. • Latest PO Patchset (If PO is installed) • Latest version of ECEPYO.16. Define Data File Directories To use EDI Gateway. you do the following: • Enable EDI translations • Establish a link to the location or business entity defined in the Oracle Applications • Establish a link to the trading partner definition in the EDI translator.0. Oracle EDI Gateway is used for both inbound and outbound transactions to define trading partner locations within a trading partner group. init.sql • Latest version of ecepyo. are stored. you must first create directories where data files.3. This path needs to be exactly the same as the path you have defined in Profile Option.5 or Rel 11.7. Setup "ECE:Inbound Directory" in Profile Options ============================= In System Administrator Responsibility.3.

The following is an example of one invoice: .3. View your flat file (ECEINI.dat) in WordPad or Notepad.

If not. Invoice Date.dat It should return: PL/SQL procedure successfully completed. If it runs successfully.dat /sqlcom/inbound 5. which contains: Line Type. Line Number.dat from your PC into your EDI Inbound Directory in UNIX: ftp ECEINI.'/sqlcom/inbound'.dat ftp ECEINI. and Expense CCID.'IN I'. 4. which contains: Type of EDI Transaction Code.'ECEINI. The second line is for Invoice Header.The first line is called Control record. . EDI Location Code. Invoice Amount. The Third line is for Invoice Distribution. Translator Code. Verify the Flatfile: ====================== For Example: Your Flatfile = ECEINI. which contains: Invoice Type. sqlplus apps/password ECE_UTILITIES. Amount.dat'). please go through the above setup again. Copy the Flatfile ================ For Example: Flatfile Name = ECEINI. it means that so far your setup is correct. Invoice Number.verify_flatfile(810.

Navigate to: Trading Partners -> Set: For Example: Supplier = GE_Capital Group = EDI Invoice Inbound Group. Translator Code = TR_CODE . Document Type = Standard Invoice.6. Partner = GE_Capital Document = Invoice Inbound. Define Trading Partners: =========================== In EDI Manager Responsibility.

7. you have set: TRANSLATOR CODE = TR_CODE EDI LOCATION CODE = DANBURY . Navigate to: Suppliers -> Entry ================================= Query on Supplier = GE Capital. In AP Manager Responsibility. Set: EDI Location = DANBURY b. Click on alternate region: Site Uses and Telephone. Set: Pay Site = Yes At this point. Click on alternate region: Electronic Data Interchange. go to Site a.

Verify the invoice header in the flatfile: ============================== a) Edit ECEINI. b) EDI Manager Responsibility. For Example: Rec: 0010 Pos: 10 Width: 2 Col: COMMUNICATION_METHOD Val= ED Rec: 0010 Pos: 20 Width: 1 Col: TP_TEST_FLAG Val= P Rec: 0010 Pos: 30 Width: 6 Col: TP_DOCUMENT_ID Val= INI Rec: 0010 Pos: 40 Width: 5 Col: DOCUMENT_TYPE Val= INVOI Rec: 0010 Pos: 50 Width: 2 Col: TP_PURPOSE_CODE Val= Rec: 0010 Pos: 60 Width: 35 Col: TP_DOCUMENT_CODE Val= EDI_INV01 Rec: 0010 Pos: 70 Width: 30 Col: TRANSLATOR_CODE Val= TR_CODE Rec: 0010 Pos: 80 Width: 35 Col: TP_LOCATION_CODE_EXT Val= DANBURY Rec: 0010 Pos: 90 Width: 74 Col: TP_DESCRIPTION Val= Rec: 0010 Pos: 100 Width: 80 Col: TP_REFERENCE_EXT1 Val= Rec: 0010 Pos: 110 Width: 80 Col: TP_REFERENCE_EXT2 Val= Rec: 0010 Pos: 120 Width: 15 Col: TRANSACTION_DATE Val= Rec: 0010 Pos: 130 Width: 15 Col: RUN_ID Val= Rec: 0010 Pos: 140 Width: 10 Col: TRANSACTION_CONTROL1 Val= Rec: 0010 Pos: 150 Width: 10 Col: TRANSACTION_CONTROL2 Val= Rec: 0010 Pos: 160 Width: 10 Col: TRANSACTION_CONTROL3 Val= Please make sure: • All the records are left adjusted. Level = Invoice Header.8.dat in WordPad or NotePad. Output Definition. find Transaction = INI. Rec: 1000 Pos: 10 Width: 10 Col: INVOICE_TYPE_LOOKUP_CODE val= STANDARD Rec: 1000 Pos: 20 Width: 10 Col: INVOICE_NUM Val= EDI_INVO1 Rec: 1000 Pos: 30 Width: 20 Col: INVOICE_DATE Val= 20000815 Rec: 1000 Pos: 40 Width: 20 Col: INVOICE_AMOUNT Val= 123. • The value of TRANSLATOR_CODE = TR_CODE • The value of TP_LOCATION_CODE_TEXT = DANBURY 9. c) select text from ECE_OUTPUT where text like '%1000%' order by text. Verify the control line in the flatfile: =========================== select text from ECE_OUTPUT where text like '%0010%' order by text.45 .

For Example: Rec: 3000 Pos: 10 Width: 25 Col: ITEM_LINE_TYPE_CODE+L270 Val=ITEM Rec: 3000 Pos: 20 Width: 15 Col: INVOICE_LINE_NUMBER_EXT Val=1 Rec: 3000 Pos: 30 Width: 20 Col: AMOUNT Val=123. Level = Invoice Line. Verify the invoice distribution in the flatfile: ================================== a) Edit ECEINI. make sure that positions are defined correctly. c) select text from ECT_OUTPUT where text like '%3000%' order by text.Compare (a). b) EDI Manager Responsibility. make sure that positions are defined correctly.dat in WordPad or NotePad.(c). .(c). 10. find Transaction = INI.45 Rec: 3000 Pos: 40 Width: 15 Col: DIST_CODE_COMBINATION_ID Val= 1032775 Compare (a).(b).(b). Output Definition.

Run ECEINI EDI Invoice Inbound =========================== In EDI Manager Responsibility. 857 TP associated to Supplier and Supplier Site 850 TP associated to Customer and Customer Site . 843.6 Problem: INBOUND FLAT FILE NOT IMPORTED INTO INTERFACE TABLES Solution: Check the following: 1. 810. 856. Make sure a Trading Partner is defined and associated to an address 3. Troubleshooting 1. Make sure the utl_file_dir for inbound file directory is defined in the INIT. Submit the request. Set Name = EDI Invoice Inbound. 832. Note: 2081701. 2.11. Navigate to: Import Programs. Document Type does not apply to inbound transactions as the assumption is that EDI Gateway will import the entire file. Make sure the Trading Partner is enabled for the inbound EDI Document (TP Details Region).ORA file. III. entity defined in Oracle Applications (TP Assignment Region).

The supplier and the site exists in the tables po_vendors and po_vendor_sites_all. then the Electronic Data Interchange region. Do not include the directory path as part of the file name. Element 80 in the flat file). Make sure the following has been set for the supplier site: Pay Site = Yes. You have EDI Patchset (898125. 898127. Solution: This can be a setup issue. Please look into the following: 1) Using the EDI Manager Responsibility. You log into your EDI Responsibility. . Make sure the following has been set for the supplier: Group = <your group> Partner = <your partner> Document = Invoice Inbound Document Type = Standard Invoice Translator Code = <your translator code> 2) Using the Payables Manager Responsibility.16. and run EDI Invoice Inbound program 810 (ECEINI). and are getting the exception No Supplier Found. navigate to Suppliers -> Entry. 2. EDI Location = <your EDI location>* *The value of EDI Location needs to be exactly the same as the value of TP_LOCATION_CODE_EXT you have put in the flat file. Element 70 in the flat file).4. Make sure the Location Code field contains a valid value defined for the Trading Partner (TP Header Region = Record 10. navigate to Trading Partners. 898134. 5. EDI Gateway will provide a default file name. 3. Note: 120365. Make sure the EDI Gateway program parameter for file name contains the correct file name. Please go to Metalink to get patch 1381826 applied to have the fix. 6. Query on Supplier. Prerequisite patches are: 898125. INVOICE_NUM. Note: 106429.1 EDI Invoice Inbound Gets Exception "No Supplier Found" Problem: You are running EDI Invoice Inbound (ECEINI 810).1 ECEINI Doesn't Copy INVOICE_NUM. INVOICE_AMOUNT.0. go to Site. INVOICE_DATE From Flatfile Problem: You are using Release 10.1. Solution: This is bug 1381826. and some other columns are not populated in the table ap_invoices_interface from the flatfile. 898134) and EDI Control Production Patch (898127) applied. Make sure the Translator Code field contains a valid value defined for the Trading Partner (TP Details Region = Record 10. INVOICE_DATE.7.

Please apply the latest AP patchset for Rel 10. . or FREIGHT.7 and Rel 11.7 or Mini-Pack for Rel 11. Solution: There is a column in AP_INOICE_LINES_INTERFACE called LINE_TYPE_LOOKUP_CODE.6 MISSING ORG_ID IN PAYABLES OPEN INTERFACE TABLES Problem: You are trying to import invoices using the Payables Open Interface Import.7 4. Solution: This feature was not available at the base version of Payables on Rel 10. Choose your product: E-Commerce Gateway 5. The four valid values for this column are: ITEM. Click on Submit. About the Authors Qin Wu is a Technical Specialist with the Oracle Financials team. you may use the TAX_CODE column. Where do I find out what the latest patches are for EDI Gateway? Log on to Metalink. MISCELLANEOUS. Click on ==> NEW! Click here for ALL Applications Product Patches.6 How to Record Tax and Freight in the EDI Open Interface Import Process Problem: When importing Inbound 810 Invoices through the EDI Gateway. She has been with Oracle Payables for 2 years. It is not consistent with ap_invoices_all and ap_invoice_distributions_all. The org_id will then be available. If you want to record tax or freight. Qin has over 4 years of Oracle Payables experience. Choose your platform 6. 3.4. how do you specify tax and freight? You have reviewed the AP_INVOICE_LINES_INTERFACE table and the AP_INVOICES_INTERFACE table and you do not see a column containing freight or tax. Choose your release version: 11 or 10. Choose limit search to: Latest Product Minipaks 7. Note: 1075470. The field org_id does not exist in the tables ap_invoices_interface and ap_invoice_lines_interface. Cheryl Ludwig is an Technical Analyst with the Oracle Financials team. Note: 1049417. 1. TAX. If you would like to specify a certain type of tax. 2. use a LINE_TYPE_LOOKUP_CODE of TAX or FREIGHT and then record the amount of the tax or freight in the AMOUNT column. 6. Navigate to Patches -> Patch Download. 5.

Sign up to vote on this title
UsefulNot useful