Archive and Delete Sales Order/Schedule History (tdsls5201m000)

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

The history files contain sales order (installment) and sales schedule data. These files are automatically updated when sales orders are generated, modified, or deleted. For sales schedules, the files are automatically updated when the status is Approved and so on. The history data can be restricted by deleting the files.

You can delete history data only if:

  • The order/schedule (line) is processed and therefore no longer available in the actual tables.
  • Financials enables deletion, for example, the history data is no longer required for reconciliation.
Note: 
  • The archiving functionality is available in this session only if the Sales Order Archiving Implemented check box is selected in the Sales Order Parameters (tdsls0100s400) session, or the Sales Schedule Archiving Implemented check box is selected in the Sales Schedule Parameters (tdsls0100s500) 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 Sales Order Parameters (tdsls0100s400) 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

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.

If this check box is selected, and errors occur during the deletion or archiving process, an error report is generated.

Delete
Order History

If this check box is selected, order and installment history data is deleted/ archived.

Archive/Delete up to Date

The transaction date/time up to which the order history data must be deleted/archived.

Note: You cannot delete/archive history records of an order/ 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/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 Sales Master Data

If this check box is selected, general data from Sales 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.