Days Before Trans. Archive, Retail Setup
This field contains the number of days that you want the Transaction Header to exist in the program before the
Transaction Archive Log is created. The batch job uses this field to keep transactions unarchived for some days as the transaction based
statistics need them, and also to restrict the number of transactions that are archived each time the
batch is run.
Note - The following filter: Transaction.SETFILTER(Date,'<',TODAY - RetailSetup.
"Days Before Trans. Archive"); entails that with 'Days before Transaction Archive' = 1,
when archiving is run today, transactions of yesterday are not archived.