Purging Sales Order Header Records

Select Data File Purges (G42312), Sales Header Purge (F4201).

Use the Purge Sales Order Header (F4201) program (R4201P) to purge sales order header records from the Sales Order Header File table (F4201). Records are purged from the F4201 table only if no open detail lines with a matching order type and order number combination exist in the F4211 table.

If you use taxed prices, the system purges records from the Sales Order Header Tax table (F4201TX) and transfers these records to the Sales Order Header History Tax table (F42019TX).

See Tax Price

In addition to purging records, you can optionally move information to the Sales Order Header History File table (F42019). You specify in the processing options whether you want to move information.