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.
- 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.
Field Information
- Settings
-
- Archive or Delete
-
The method for processing the data.
You can select:
- Delete Only, if you want to delete the data.
- Archive Only, if you want to transfer the data to the archive company.
- Archive and Delete, 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.
- Archive/Delete 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.
- Archive/Delete 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 during Delete
-
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:- This check box is available only if the Archive General Data only via session Archive General Data check box is cleared in the COM Parameters (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archive Purchase Master Data
-
If this check box is selected, general data from Procurement is archived.
Note:- This check box is available only if the Archive General Data only via session Archive General Data check box is cleared in the COM Parameters (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- 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.