89 Purge Processed Batch Invoices

This chapter contains the topic:

89.1 Purging Processed Batch Invoices

Purge batch invoices after you review, process, and post them. You can choose to automatically purge them after processing or do it later as a separate task. If you purge them later, the invoices remain in the system as processed until you globally purge them.

Purging processed invoices removes all batch invoices from the Invoice Transactions - Batch table (F0311Z1) regardless of the batch they are in. Purging does not affect the invoices in the A/R Ledger table (F0311).


From Accounts Receivable (G03), enter 27

From A/R Advanced and Technical Operations (G0331), choose Batch Invoice Processing

From Batch Invoice Processing (G03311), choose Processed Batch Invoice Purge

89.1.1 What You Should Know About

Topic Description
Technical considerations If you use OPNQRYF (Open Query File command) instead of the logical file build to select the records to purge, you must also complete the following:
  • Additional parameters

  • At least one data sequencing field

If you use the logical file build instead of OPNQRYF, the system reorganizes both the logical file and the purged file. This might increase the time it takes to run the reorganization.

89.1.2 Processing Options

See Section 114.3, "Batch File Purge (P00PURGE)" for more information.