OE001 - Sales History Reset
When the Recalculate Sales History program is executed the user will be prompted for the Starting Invoice Date, Ending Invoice Date, Period, and Calendar Year. The screen will also include OK and Cancel push buttons. The entry of the fields will be the same as on the Post Sales History screen. When the OK push button has been selected, the Sales History file will be processed. All records for the Period and Year entered by the user will be deleted. After the Sales History file has been processed, the Invoice History Header file will be processed. The Transaction Posted Flag will be set to "N" for all records with an Invoice Date in the Invoice Date Range entered by the user. After the Recalculate Sales History program has been executed, the Order Entry Post Sales History Transaction program should be executed for the Invoice Date Range, Period and Calendar Year. This will re-post the Sales History Transactions for that period.