| Archive/Delete Sales Order/Schedule History (tdsls5201m000) |  |
| Use this session to archive and/or delete sales order history and/or sales schedule history. The history files contain sales order data and sales schedule data. These files are automatically updated when sales orders are generated and changed and sales orders are deleted. For sales schedules, the files are automatically updated from the Approved status on and next. The total amount of history data can be restricted by deleting the files. The way in which ERP LN deletes the history data depends on the value of the Method of Deleting Order History Data field in the Sales Order Parameters (tdsls0100s400) session. Note To delete the order/schedule history, the order/schedule (line) can no longer be present in the actual tables. In other words, the order/schedule (line) is invoiced and logistically completed. If commissions and/or rebates are linked to the history line, you cannot delete the history if the status of the commission/rebate is not Closed. You can only delete history data if: The data is no longer needed for reconciliation purposes. As a result, you can only delete order/schedule history data as long as the financial transactions of the order/schedule (line): Are Final Accepted in the Operations Management - Financial Reconciliation (tfgld4595m000) session. Are processed in a financial period that has the status Closed or Finally Closed in the Period Status (tfgld0107m000) session. The data is included in updating the statistics in the Update Statistics (tdsta2250m000) session. This only applies if statistics is implemented, which you can set in the Purchase/Sales Statistics (STA) field of the Implemented Software Components (tccom0100s000) session. Important! Order history is the basis for statistics. Archiving and/or deleting order history limits a full update of statistics. If you archive the order history up to a certain period in time, it is recommended to archive the statistics also up to that period. Performance aspects The settings in this session could affect system performance and database growth. For more information, refer to Delete and archive history data. Related topics Sales order/schedule history Reconciliation - overview
Fields | Description
Delete or Archive | Define whether you want to delete the history, transfer the history to an archiving file, or first transfer the history to an archiving file and then delete the history.
Archive Company | The archiving company to which the history information is transferred.
Order History | If this check box is selected, order history data is deleted.
Up To Date | The transaction date/time until which you want to delete the order history data. Note You cannot delete history records of an order/ order line that has a transaction date that falls after the date you entered in this field.
Schedule History | If this check box is selected, schedule history data is deleted.
Up To Date | The transaction date/time until which you want to delete the schedule history data. Note You cannot delete history records of a schedule/ schedule line that has a transaction date that falls after the date you entered in this field.
Archive General Data | If this check box is selected, general data from the Common module is also archived.
Archive Master Data | If this check box is selected, master data from the Order Management package is also archived.
Archive Text | If this check box is selected, texts are also archived.
Overwrite Text | If this check box is selected, texts from the archive company number are overwritten with the texts from the operational company.
Print Errors | If this check box is selected, ERP LN prints a report of the errors that occur while archiving/deleting the history data.