The End-of-Period Menu contains programs that should be run at the end of each Sales Orders period in order to close it correctly.
You can access the following programs from the SO End of Period menu:
The Period Sales Register prints a recap of all the Daily Sales Registers run for the period listing a total for the period at the bottom. If used, the Daily Sales Registers recaps are also listed by salesperson, terminal, terms code, warehouse and/or department. The optional removal should be run to remove all registers for the start of the next period. An optional update following register the register print allows removal of all records just printed. The data for this program is the Daily Sales Register totals since the last Period Sales Register update was run. This data is stored in the Sales Orders Period Sales File.
This program is only used if the Use pd sales register flag is set to Y in the Sales Orders Static Control F/M.
Period sales register information by Daily Sales Register includes register date, register number, number of invoices, merchandise amount, miscellaneous amount, discount amount, cost, margin, tax, freight, cash sales and total register amount. Totals are included for all fields for all Daily Sales Registers appearing on the report.
The End-of-Period Update zeros out the monthly recap figures and increments the current sales orders period by one. Use the End-Of-Period Update program to close the current sales orders period by resetting the current period and removing Daily Sales Register recap period-to-date information.
Order Booking Processing
When determining if a document’s order booking records should be removed, the system only considers the document’s create date. In other words, if the create date is within the date range, the system removes all of that document’s order booking records–-even if the edit dates are not within the date range. However, the system first checks to see if the sales order is still open. If the order type is "O" or the status is "E" or "W", then the system does not remove the document’s order booking records
If the Order Booking flag is set to "Not used" in SO Static Control F/M, the next time the end of period update is run, the system purges all order booking records for the current company.