Understanding RMA Purge

Run the RMA Purge program to remove all closed RMA records from the F40051 table. The system removes an RMA record when the associated sales orders or purchase orders are closed (no detail lines are found in the Sales Order Detail File (F4211) or Purchase Order Detail File (F4311) tables). You also can set the appropriate processing option for the RMA Purge program for additional validation; the system can check the Sales Order History File table (F42119) in addition to the F4211 table to ensure that the sales order detail record is not contained in either table. If the sales order detail record is contained in either or both tables, then the system does not remove the RMA records.