You are on page 1of 2

Improving Auto Invoice Performance

The following instructions are based on Oracle Support Document How to Setup Auto Invoice for Optimal Performance [ID 1083467.1] For optimal performance, the following concatenated indexes should be created as UNIQUE indexes by your database administrator. You should create the indexes using SQLPlus as follows: ATTRIBUTE1 and ATTRIBUTE2 are the standard attribute numbers. These numbers should be replaces with those used by your instance of Oracle as explained above. SQL> CONNECT AR/AR SQL> CREATE UNIQUE INDEX XX_RA_CUSTOMER_TRX_U1 ON RA_CUSTOMER_TRX_ALL(INTERFACE_HEADER_CONTEXT, INTERFACE_HEADER_ATTRIBUTE1, INTERFACE_HEADER_ATTRIBUTE2); SQL> CREATE UNIQUE INDEX XX_RA_CUSTOMER_TRX_LINES_U1 ON RA_CUSTOMER_TRX_LINES_ALL (INTERFACE_LINE_CONTEXT, INTERFACE_LINE_ATTRIBUTE1, INTERFACE_LINE_ATTRIBUTE2); SQL> CREATE UNIQUE INDEX XX_RA_INTERFACE_LINES_U1 ON RA_INTERFACE_LINES_ALL (INTERFACE_LINE_CONTEXT, INTERFACE_LINE_ATTRIBUTE1, INTERFACE_LINE_ATTRIBUTE2); Also create the following unless you are NOT using sales credits or accounting distributions (or if you have set up the application to derive these values): SQL> CREATE UNIQUE INDEX XX_RA_INTERFACE_DIST_U1 ON RA_INTERFACE_DISTRIBUTIONS_ALL (INTERFACE_LINE_CONTEXT, INTERFACE_LINE_ATTRIBUTE1, INTERFACE_LINE_ATTRIBUTE2); SQL> CREATE UNIQUE INDEX XX_RA_INT_SALESCRDS_U1 ON RA_INTERFACE_SALESCREDITS_ALL (INTERFACE_LINE_CONTEXT, INTERFACE_LINE_ATTRIBUTE1, INTERFACE_LINE_ATTRIBUTE2) Steps to Configure Auto Invoicing: Step Step Step Step Step 1: 2: 3: 4: 5: Invoice Transaction Flexfield Line Transaction Flexfield Line Ordering Rule Grouping Rule Transaction Source

Step 6: Wizard Interface Attributes