For a system storing sales orders past invoice history (as set in the Sales Orders Static Control Record), you can use the Past Invoice Removal program to remove past invoice history based on customer number, warehouse, date and type of invoice.
You can specify: beginning and ending customer and warehouse(s) of invoices to remove, date to remove though, type of invoice - regular, credit memo or counter sales, and whether to remove history for invoices that are still open.
The Past Invoice History File is used in the Sales Orders Customer Inquiry, the Document Inquiry, and is updated during the Daily Sales Register update.
The Past Invoice Removal (SOU920) program removes records from the past invoice companion files for Radio Beacon controlled warehouses.
Use the following fields to run the Past Invoice Removal program:
1. Cutoff Date
Enter the date to remove through. Invoice dates after the cutoff date are not removed. Press Enter (CR) or F2 to default to the ending date of the last GL period closed or F1 to specify no cutoff date.
2. Type
Specify the type of invoice to remove: I-regular invoices, C-credit memos and/or S-counter sales. Press Enter (CR) to default to ALL.
3. Remove If Open
Specify whether to remove history for invoices that are still open in Accounts Receivable. Press Enter (CR) to default to N.
4. Customer Warehouse Grids
You can specify the customer and warehouse or range of customers and warehouses for which invoice history is to be removed. In each of these fields you can press F3 to default to All, the Grid button to add or replace the range of customers and items warehouses. Press F2 to remove the last entry in the grid.