Archive and Delete Purchase Order/Schedule History (tdpur5201m000)

Use this session to delete, archive, or archive and delete purchase order and purchase schedule history.

To delete the order/schedule history, the order/schedule (line) cannot be present in the actual tables. In other words, the order/schedule (line) must be invoiced and logistically completed.

You can only delete history data if:

  • The data is not required for reconciliation purposes.

    Consequently, you can only delete order/schedule history data if the financial transactions of the order/schedule (line):

    • Are set to Finally Accepted in the Operations Management - Financial Reconciliation (tfgld4595m000) session.
    • Are processed in a financial period with the status Closed or Finally Closed in the Period Status (tfgld0107m000) session.
  • The data is included when the statistics are updated in the Update Statistics (tdsta2250m000) session. This is only applicable if statistics is implemented, based on the Purchase/Sales Statistics (STA) field in the Implemented Software Components (tccom0100s000) session.
Note
  • The archiving functionality is available in this session only if the Purchase Order Archiving Implemented check box is selected in the Purchase Order Parameters (tdpur0100m400) session, or the Purchase Schedule Archiving Implemented check box is selected in the Purchase Schedule Parameters (tdpur0100m500) session.
  • The method to delete the order history data is based on the value of the Method of Deleting Order History Data field in the Purchase Order Parameters (tdpur0100m400) session.
  • Order history is used as 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, it is recommended to also archive the statistics 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.

 

Settings
Archive or Delete
The method for processing the data.

You can select:

  • Delete, if you want to delete the data.
  • Archive, if you want to transfer the data to the archive company.
  • Both, if you want to transfer the data to the archive company and then delete the data from the operational company.
Print Errors
If this check box is selected, and errors occur during the deletion or archiving process, an error report is generated.
Order History
If this check box is selected, order history data is deleted/archived.
Up To Date
The transaction date/time up to which the order history data must be deleted or archived.
Note

You cannot delete/archive history records of an order (line) with a transaction date that falls after the date you specified in this field.

Schedule History
If this check box is selected, schedule history data is deleted/archived.
Up To Date
The transaction date/time up to which the schedule history data must be deleted or archived.
Note

You cannot delete/archive history records of a schedule (line) with a transaction date that falls after the date you specified in this field.

Skip Last Entries
If this check box is selected, the last history entries are retained and not deleted.
Archive
Original Company
The company for which the data is archived.
Archive-to Company
The archive company to which the data is transferred.
Note

This company is retrieved from the Archive-to Company field in the Implemented Software Components (tccom0500m000) session.

Archive Common Master Data
If this check box is selected, general data from Common is archived.
Note
Archive Purchase Master Data
If this check box is selected, general data from Procurement is archived.
Note
Archive Text
If this check box is selected, texts are also archived.
Overwrite Text
If this check box is selected, texts that already exist in the archive company are replaced with the original text.