AR Purge Notes 160212

download AR Purge Notes 160212

of 2

Transcript of AR Purge Notes 160212

  • 7/31/2019 AR Purge Notes 160212

    1/2

    AR PurgingThere are 2 Types of Purging in Oracle Receivables:1) Autoinvoice Interface Purge2) Transaction Data Archive & Purge

    Autoinvoice Interface Purge

    1) Login to corresponding AR Purge User responsibility

    2) Run Autoinvoice Purge Program from SRS window

    3) The program deletes the data from following tables for specific operating unit attached to the responsibilityRA_INTERFACE_DISTRIBUTIONS_ALLRA_INTERFACE_SALESCREDITS_ALLRA_INTERFACE_LINES_ALLRA_INTERFACE_ERRORS_ALL

    Transaction Data Archive & Purge

    1) Login to corresponding AR Archive & Purge User responsibility

    2) Run Call New Archive and Purge program from SRS window which will eventually calls New Archive and Purge program

    3) This program archives the data in tables- AR_ARCHIVE_HEADER & AR_ARCHIVE_DETAIL and deletes transaction data from following base tables:AR_ACTION_NOTIFICATIONSAR_ADJUSTMENTSAR_BATCHESAR_CALL_ACTIONSAR_CASH_BASIS_DISTRIBUTIONSAR_CASH_RECEIPTSAR_CASH_RECEIPT_HISTORYAR_CORRESPONDENCE_PAY_SCHEDAR_CUSTOMER_CALL_TOPICSAR_MISC_CASH_DISTRIBUTIONS

    AR_NOTESAR_PAYMENT_SCHEDULESAR_RATE_ADJUSTMENTSAR_RECEIVABLE_APPLICATIONSRA_BATCHESRA_CUSTOMER_TRXRA_CUSTOMER_TRX_LINESRA_CUST_TRX_LINE_GL_DISTRA_CUST_TRX_LINE_SALESREPSAR_CORRESPONDENCESAR_DISTRIBUTIONS

    4) If in case, Archive & Purge program fails, you can submit Archive-Restart progr

    am from SRS window. It can be used to save the system from having to revalidateall purge candidates, if Archive & Purge has completed the selection and validation phase, then fails during the archive phase. Archive-Restart clears the Archive Header and Detail tables and submits the archive report. When submitting theArchive-Restart program you must provide the following parameters: Archive Level, Summary Report Only, Number of Workers, Commit Size, and Archive Id

    5) Run Archive to File program from SRS window to move your archive data to a filein the directory with the file name . Also ensure that you move your archive output from the AR_TOP/out directory to an appropriate storage area. Otherwise, it

  • 7/31/2019 AR Purge Notes 160212

    2/2

    will be deleted when your system administrator clears the output directories.

    6) Once archive data has been stored the archive tables must be cleared before the next purge run. To clear the archive tables use the TRUNCATE command in SQL with the following tables:AR_ARCHIVE_HEADERAR_ARCHIVE_DETAIL

    7) The following tables will be cleared automatically the next time you run theArchive/Purge programs.AR_PURGE_TRX_AUXAR_PURGE_REC_AUXAR_ARCHIVE_PURGE_LOGAR_ARCHIVE_PURGE_INTERIMAR_PURGE_OE_EXCEPTIONS

    8) After you purge your database, you should contact your Database Administrator(DBA), so that he can export and import the tables and indexes from which you purged data. By recreating these objects, you can reduce the memory each object occupies in your tablespace and increase the performance of your system.