AR--Auto Invoice question
FAQ Details What manual should I read for more information on AutoInvoice? A: Please see Metalink Note: 67189.1 for the most current version of the Receivables Users Guide for the release you are using. Also see Oracle Receivables User Guide for Release 11i Chapter 2 describes the Setup for AutoInvoice. Chapter 4 about Transactions describes the AutoInvoice process: - Preparing Receivables for AutoInvoice - Importing Transactions Using AutoInvoice - AutoInvoice Table and Column Descriptions - Importing Data From Your Feeder System - Transaction Flexfields - Using Grouping Rules to Create Transactions - AutoInvoice Line Ordering Rules: - AutoInvoice Validation - Passing Payment Methods and Customer Bank Accounts - Importing Invoice Information into Receivables Using AutoInvoice - Importing Tax Lines - Importing Invoices with Rules - Importing Credit Memos - Importing Freight Lines - Finance Charges - AutoInvoice Reports - Using AutoInvoice - Using AutoAccounting - Determining Dates - Correcting AutoInvoice Exceptions Integrating Oracle Order Management with Oracle Receivables (Oracle Financials Open Interfaces Manual) [top] What are the MetaLink keywords I should use when searching for more information about AutoInvoice? A: RAXMTR, AutoInvoice, master, program, RAXTRX, import [top] What information do I need to provide, while logging a Service Request for AutoInvoice? A: 1) Copy of AutoInvoice master program log file (RAXMTR module) AutoInvoice import program log file (RAXTRX module) AutoInvoice validation and/or execution report (if applicable) 2) The file produced by the following command. The file is stored as /tmp/header.lst, which gives the file version. command. The file is stored as /tmp/header.lst, which gives the file version. cd $AR_TOP/bin strings -a RAXTRX | grep '$Header' > /tmp/header.lst [top] Why is AutoInvoice splitting one order into two invoices? (or why is AutoInvoice generating one invoice for multiple orders?) A: AutoInvoice uses grouping rules to group invoices, credit memos and debit memos. Grouping rules contain various transaction attributes (columns in RA_INTERFACE_LINES_ALL table) that must be identical for the same transaction. There are 2 kinds of attributes: mandatory and optional. You can only add or drop optional attributes. Please see the User's Guide for a listing of all columns included in the mandatory attributes and all the columns that can be added as optional attributes. Check the grouping rule that you are using. You may have defined an optional attribute that is different for two lines of the same invoice, and is, therefore, causing a second invoice to be generated. Check both optional and mandatory attributes of the two lines. If AutoInvoice is generating one invoice for multiple orders, then you may not have defined sales order as an optional attribute. References: How AutoInvoice grouping works Oracle Receivables User Guide, Release 11 and 11i - 'Grouping Rules' Open Interface Manual [top] What is the suggested setting for the 'Log file message level'? A: For day to day business needs and to improve performance, set this to 0. If AutoInvoice errors out, set the message level to 3 to get detail messages in the log to help debug the problem. Message Level 0 gives the following entries in the log file: Product Version Program Name AutoInvoice Start Time AutoInvoice Concurrent Request Arguments Error and Warning Messages AutoInvoice End Time AutoInvoice Logical Steps Message Level 1 gives you all of the above entries plus: Time- Stamped function labels Message Level 2 gives you all of the above entries plus: Sizes of Allocated Arrays Dynamic SQL Statements Number of Rows Updated, Inserted and Deleted Message Level 3 gives you all of the above entries plus: Method IV SQL Array Values If the errors are regarding Autoaccounting, message level can be set to 10 or above to get more detailed Autoaccounting messages in the log. [top] How can a credit memo (from a legacy system) be applied against an invoice using AutoInvoice? A: To link the credit to an invoice there are 2 options: 1) Populate REFERENCE_LINE_ID on RA_INTERFACE_LINES_ALL with the CUSTOMER_TRX_LINE_ID of the invoice. OR 2) Populate REFERENCE_LINE_ATTRIBUTE1 to 15 with the INTERFACE_LINE_ATTRIBUTE1 to 15 of the invoice. You also need to populate REFERENCE_LINE_CONTEXT with INTERFACE_LINE_CONTEXT of the invoice. INTERFACE_LINE_CONTEXT and INTERFACE_LINE_ATTRIBUTE1 to 15 are stored in RA_CUSTOMER_TRX_LINES_ALL. To create an on-account credit (i.e. not linked to an invoice) do not populate REFERENCE_LINE_ID, REFERENCE_LINE_ATTRIBUTES or REFERENCE_LINE_CONTEXT. [top] Can Adjustments be imported through AutoInvoice? A: No. Only Invoices, Credit Memos, Debit Memos, and On-account Credits can be imported through AutoInvoice. See Bug:408242 for an enhancement logged on this issue. The adjustments can be imported by using Adjustment API's. This API allows users to create, approve, update, and reverse adjustments for invoices using simple calls to PL/SQL functions. [top] How is the Tax code derived in AutoInvoice? A: AutoInvoice first looks at the transaction type setup (Menu: Setup>Transactions>Transaction Types) and the TAX_EXEMPT_FLAG column in RA_INTERFACE_LINES_ALL. If the 'Calculate Tax' box is checked on the transaction type OR the TAX_EXEMPT_FLAG column is 'R'(for Required), it tries to derive the Tax code. To get the tax code, AutoInvoice looks at the following places in the following order, stopping at the first place where it finds a tax code: - Ship-to site - Bill-to site - Customer - Item This is illustrated in a flowchart in the following manuals: - Release 11i, Oracle Receivables, Tax Manual - Release 11, Oracle Receivables, Tax Manual - Release 10.7, Oracle Receivables, Tax Manual - Release 10.7, 'Open Interfaces Manual' [top] Can changes be made to existing Invoices via AutoInvoice ? A: No. You can only create credit memos and apply them to existing invoices if they are still open (or if Allow Overapplication is checked for that Transaction Type). You cannot update existing invoices. Once a transaction in AR has any activity against it you cannot update it manually. Activity is defined as cash applied, credit memo applied, adjustment, posting to GL and, printing. References: How To Update An Already Created Invoice Through AutoInvoice Program [top] What should be verified when I get the 'Please Correct Revenue (or Receivable or Freight or Tax) Account Assignment'? A: Autoaccounting is used to determine the accounts when the distribution table is not populated. When AutoInvoice gives this error, it generally gives the account with the missing segment(s). Menu: Setup>Transactions>Autoaccounting Query the account mentioned in the above error and note the setup for that missing segment. If it is based on: - Transaction Type - Menu: Setup>Transaction>Transaction Types, and verify that all accounts are populated. - Salesperson - Menu: Setup>Transactions>Salespersons, and verify that all accounts are populated. - Standard Lines - For an Inventory Item navigate to Menu: Setup>Transactions>Items>Inventory items, and verify that the 'Sales Account' is populated in the 'Invoicing' alternate region. For a Memo Line, navigate to Setup =>Transactions =>Memo Lines, and make sure that 'Revenue Account' is populated. - Taxes - Menu: Setup>Tax>Codes and verify that account is populated in 'Tax' column under the 'Accounting' alternate region. Additionally the following can be checked: Setup of Cross Validation Rules. Run Cross validation Listing Report in GL to identify the cross validation rule stopping the import of this line. [top] Once the transactions have been imported successfully into AR using AutoInvoice, how can they be purged from the interface tables? A: If the system option 'Purge Interface Tables' is set to Yes, data that has been validated and successfully imported in AR will be purged automatically. If the purge option is set to No, you can submit the AutoInvoice Purge Program from the Run AutoInvoice form to purge the interface tables. This program will only purge rows that have been processed successfully. Navigation to check the 'Purge Interface Tables' option: - Menu: Setup>System>System Options - Alternate region 'Trans and customers' - 'Purge Interface Tables' checkbox Navigation to submit the AutoInvoice purge program: - Menu: Interface>AutoInvoice - Request name: AutoInvoice Purge Program References: Oracle Receivables User Guide August 2002 , Chapter 4 Transactions - Preparing Receivables for AutoInvoice. [top] How often can you run AutoInvoice? A: AutoInvoice can be run as many times as you like. It can run at anytime of the day, month, year. You need to set the rules for the running of this process based on your company's business needs. You can also schedule to run AutoInvoice automatically at regular intervals. [top] In multi-org environment, can I run AutoInvoice simultaneously? A: Yes, you may, there are no incompatibilities setup for AutoInvoice against itself. You can setup an incompatibility as follows: Under System Administrator responsibility, Menu: Define>Concurrent>Program Click on Incompatibilities You will see the RAXMTR to be incompatible with itself and thus not allow AutoInvoice to be run simultaneously. Also when you have only one org, AutoInvoice can be run in parallel for different batch sources. [top] How do I check the Set Up for AutoInvoice? A: See Note:226429.1 /Note:204790.1 for the AutoInvoice Check Setup test. This test will provide detailed data on AutoInvoice Set up. The output is spooled to an HTML file for your review. The Receivables Set Up Details Report (ARSSETUP.rdf) identifies all critical Set Up steps done in Receivable before performing an important process like running AutoInvoice. All the vital information are be available in one place by running this report instead of searching for it in various places. This report is currently available for Release 11i Patchset I (Patch 2100663) See Note:202260.1 Receivables (AR) Check SetUp test. This pl/sql test will provide detailed data on the Oracle Receivables set up. The output will be spooled to an HTML file. References AutoInvoice Setup White Paper Oracle Support Diagnostic Release Announcement [top] How can I prevent partial transactions from being created, when program error occurs. A: To prevent partial transaction from being created when program error occurs, apply the following patches: Patch 2127349 for Release 11 and Release 11i. However, this feature has not been backported to Release 10.7. [top] How can the errors in the interface tables lines be corrected? A: The errors in the interface tables can be corrected with the help of the AutoInvoice Validation Report and the AutoInvoice Errors window which displays records that failed AutoInvoice validation. Depending on the error you may need to make changes either in Receivables, or to your feeder program or to the imported records in the interface tables. Menu: Interfaces>Control>AutoInvoice>Interface Lines Interface Lines Window - This window lets you see all of the interface lines that have been processed but rejected by AutoInvoice. You can view and edit data in this window. Menu: Interfaces>Control>AutoInvoice>Interface Exceptions Interface Errors Window - This window lets you see all of the errors generated by AutoInvoice. This window is read-only, but you can drill down to view errors in more detail, and modify data in these windows. [top] How does the GL date get derived? A: For invoices without Rules: AutoInvoice first uses the GL date in the interface table (RA_INTERFACE_LINES_ALL), if one exists. If one does not exist then it is derived as follows: If the Derive Date box is checked for your batch source (Menu: Setup>Transactions>Sources, query your batch source, alternate region Accounting), AutoInvoice first uses the ship date in the interface table. If the ship date does not exist, AutoInvoice uses the sales order date. If the sales order date does not exist, AutoInvoice uses the date entered in the Submit Request window when AutoInvoice was run. If the Derive Date box is not checked for your batch source, AutoInvoice uses the date entered in the Submit Request window when AutoInvoice was run. For Invoices with Rules: AutoInvoice first uses the GL date in the interface table (RA_INTERFACE_LINES_ALL), if one exists. If the Invoicing Rule is 'Bill In Advance', AutoInvoice uses the Rule Start Date for the GL date. If the Invoicing Rule is 'Bill in Arrears' and the invoice line has an accounting rule of type 'Accounting, Fixed Duration' and a period of 'Specific Date', AutoInvoice computes an end date using the earliest accounting rule date. For all other Accounting rules, AutoInvoice computes an ending date for each invoice line, and then takes the earliest date of these lines and uses it as the GL date of the invoice. If your invoice does not use a fixed rule accounting duration and the rule start date is not provided in the interface table, GL date is derived as follows: If the Derive Date box is checked in batch source options, AutoInvoice first uses the ship date. If the ship date does not exist, AutoInvoice uses the sales order date. If the sales order date does not exist, AutoInvoice uses the date entered in the Submit Request window. If the Derive Date box is not checked, AutoInvoice uses the date entered in the Submit Request window. References: AUTOINVOICE - Date Derivation AutoInvoice Date Derivation White Paper This is illustrated by a flow chart and explained in the Oracle Receivables User Guide August 2002 [top] AutoInvoice is taking too long to run. How can I improve its performance? A: Although there are many reasons which can contribute towards poor AutoInvoice performance, the most common ones are as follows: a) Indexes have not been defined for the Line Transaction Flexfield on RA_INTERACE_LINES_ALL. See Notes under Reference for details. b) Old application or AutoInvoice code: Make sure you are on the latest patchset and have applied the latest performance patch for AutoInvoice, if any, for your application release. c) Custom indexes or triggers: If any custom indexes or triggers have been defined, drop them to see if performance improves. d) Missing or disabled indexes or triggers on AR tables: Check the Technical Reference Manual to verify you have all the indexes and triggers on the AR tables. e) Run Gather Schema Statistics from the SYSADMIN responsibility (Release 11i) References: OPTIMIZING AND SCHEDULING AUTOINVOICE See the Oracle Receivables User Guide August 2002 , Chapter 2 Setup, Chapter 4 Transactions [top] The Import program (RAXTRX) does not get spawned when I run AutoInvoice. What could be the reason? A: In this case the Master Program (RAXMTR) may complete without error but will not spawn the Import Program (RAXTRX). The log file for RAXMTR will show the 'No data Found' message. AutoInvoice executes a statement similar to the following to select records for importing: SELECT COUNT(*) FROM RA_INTERFACE_LINES WHERE NVL(INTERFACE_STATUS, '~') != 'P' AND (REQUEST_ID IS NULL) AND BATCH_SOURCE_NAME = 'POS Batches' AND LINK_TO_LINE_ATTRIBUTE1 IS NULL AND LINK_TO_LINE_ATTRIBUTE2 IS NULL . . AND LINK_TO_LINE_ATTRIBUTE15 IS NULL (Please see the Master program log to see what the exact sql statement is for your specific case). In the above example: 'POS Batches' is the Batch Source name. In your case, there may be no records returned by the above statement, and hence the 'NO Data Found' message. You can verify if there are records in the interface table (RA_INTERFACE_LINES_ALL) to be imported by running the following statement: Select BATCH_SOURCE_NAME, INTERFACE_STATUS, REQUEST_ID from RA_INTERFACE_LINES_ALL where BATCH_SOURCE_NAME='&batch_source_name'; The INTERFACE_STATUS should not be P and the REQUEST_ID column should be NULL. Moreover, also verify if the necessary attributes (ATTRIBUTE1-ATTRIBUTE15) are NULL. If you have interfaced orders from Order Entry, the records may not have been populated into the interface table. Check the log of the Receivables Interface process for any error messages even if the process completed successfully. [top] How to get closed invoices into AR using AI process? A: The AutoInvoice program will only let you process open invoices. It cannot be used to bring in invoices for historical purposes. [top] How to allow duplicate value in INTERFACE_LINE_ATTRIBUTE1 in AutoInvoice? A: Line Transaction Flexfield has an associated unique Context field. The combination of the segments plus Context has to be unique. References: AutoInvoice Setup White Paper Line Transaction Flexfields [top] Are AutoInvoice exception handling windows backported from 11i to 11.03? A: The AutoInvoice exception handling windows are available with Release 11.0 as part of 11.0.AR.B and later. They are also available in a one-off patch #731338 for Release 11.0. References: Oracle Receivables Release 11i Features and Enhancements Backported to Release 10.7/Release 11.0 [top] How do you default the batch source on the AutoInvoice submission screen? A: Go to Concurrent -> Program -> Define Pull up RAXMTR Click on Parameters Go to Batch Source ID Change the default type to Constant Change the Default value to the NAME (not id) of the value you want "Order Entry" (it is case sensitive). Save. [top] How to you Use AutoInvoice to Apply Credit Memos to Multiple Invoices or Debit Memos? A: Through AutoInvoice you are not able to apply one credit memo to multiple debit items. References: How to you Use Autoinvoice to Apply Credit Memos to Multiples Invoices or Debit Memos? [top] How do you get the AutoInvoice Exceptions forms to appear on the menu? A: You will need to add the option and the function to the menu if you do not have them. References: How do we get the new Autoinvoice Exceptions forms to appear on the menu? [top] What is the difference between the attribute_category and the header_attribute_category columns are on the ra_interface_lines_all table. A: They are for 2 different descriptive flexfields. References: What is the difference between the attribute_category and the header_attribute_category [top] How to import gapless transaction numbers with AutoInvoice? A: Oracle does not gaurantee 100% gapless transaction numbering even with the cache on the sequence turned off. In Release 11 and 11i, you can make the invoice numbering follow your document sequencing and this will bring you closer to 100% gapless numbering. References: Gapless Invoice Numbering is Required How To Make Document Transaction Numbering Gapless? [top] How to run an example AutoInvoice Import? A: Check available information in Setup & Usage for Autoinvoice References: RAXTRX: How To Import An Invoice And Tax Into Oracle Quick Steps to run an example AutoInvoice Import [top]
thank you!
成长
/ | \
学习 总结 分享
QQ交流群:122230156