Sales order detail and header purge
Hello team,
We are planning to purge the sales order header and details files to history files. Our requirement is, records to be purged to history tables, only if all the lines in the sales order are in 999 status.
For ex, if an order containing 4 lines, out of which 2 lines are sale updated, we would like to keep these records in F4211 till other 2 lines are through sales update or cancelled and then we need them to be moved to history tables.
Can you please suggest.