Understanding the Purge Process for Argentinean Sales Orders

The Invoice Total Purge -Argentine program (R76A09P) purges the localized tables and saves their information in new tables. The program first verifies that the records in the Invoice Total table (F76A09) correspond to records with a next status of 999 in the F4211 table. The program then purges the records from these tables:

  • Invoice Total (F76A09).

  • Taxes - Tax Amounts by Sales Order Line (F76A18).

  • Credit Invoice Header (F76A21).

  • Credit Invoice Detail (F76A22).

  • Credit Invoice Withholding (F76A23).

  • Header & Footer Invoice/Shipment Note History WF (F76A0209).

  • Detail Lines Invoice/Shipment Note History WF (F76A0219).

The program saves the purged information to these tables:

  • Invoice Total Purge (F76A09P).

  • Taxes - Tax Amounts Sales Order Line Purge (F76A18P).

  • Credit Invoice Header Purge (F76A21P).

  • Credit Invoice Detail Purge (F76A22P).

  • Credit Invoice Withholding Purge (F76A23P).

  • Header/Footer Inv./Shipment Note History WF Purge (F76A020P).

  • Detail Lines Inv./Shipment Note History WF Purge (F76A021P).

    Note: If the program does not find records in the F4211 table that correspond to records in the F76A09 table, the program assumes that these records have been moved to the Sales Order History File table and eliminates the records.

After you run the Invoice Total Purge -Argentine program (R76A09P), run these purge programs:

  • Sales Header Purge (F4201) (R4201P).

  • Sales Order Detail (F4211) (R4211P).

    Note: The purge processes always run in final mode.