| Archive/Delete Purchase Order/Schedule History (tdpur5201m000) |  |
| Use this session to archive and/or delete purchase order history and/or purchase schedule history. 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 Purchase Order Parameters (tdpur0100m400) 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. 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 Purchase order/schedule history Reconciliation - overview
Fields | Description
Delete or Archive | Define whether you want to delete the history, 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 (line) with 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 (line) with 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 Common is also archived.
Archive Master Data | If this check box is selected, master data from Procurement 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.