Archive and Delete/Terminate Sales Contracts (tdsls3203m000)

Use this session to terminate, delete, and archive sales contracts.

You can also combine these actions for a sales contract.

Note
  • The archiving functionality is available in this session only if the Sales Contract Archiving Implemented check box is selected in the Sales Contract Parameters (tdsls0100s300) session.
  • Before sales schedules and sales orders can be archived, first the sales contracts must be archived.

You cannot terminate a sales contract if an open sales schedule is linked to the contract. To terminate the contract, you must terminate the schedule first.

You cannot delete a sales contract if:

  • At least for one contract line, the called quantity is not equal to zero.
  • The contract is linked to an order or open schedule.
  • The Evaluate Contract before Deleting check box in the Sales Contract Parameters (tdsls0100s300) session is selected, and the session's contract lines are not yet evaluated.
  • The contract is Active.
Invoked tables

This table shows the data that is archived and/or deleted:

Sales contract headers
Sales Contract (tdsls300)
Sales contract lines
Sales Contract Lines (tdsls301)
Sales Contract Logistic Data (tdsls302)
Sales Contract Prices (tdsls303)
Document Material Price Agreement (tcmpr100)
Document Material Information (tcmpr110)

 

 

Contract Type

You can select the contracts to be terminated/deleted by contract type.

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.
Terminate
Terminate Expired Contracts

If this check box is selected, and the expiry date of a selected contract with the Free or Active status is before the current date and is in the selected range of expiry dates, the contract status is set to Terminated.

Delete
Delete Free Contracts

If this check box is selected, the selected contracts with the Free status are deleted.

Delete Terminated Contracts

If this check box is selected, all selected contracts with the Terminated status are deleted.

Note
  • The contracts are also deleted for which the Terminate Expired Contracts check box is selected.
  • If the Evaluate Contract before Deleting check box in the Sales Contract Parameters (tdsls0100s300) session is selected, a contract cannot be deleted before its contract lines are evaluated.
Delete Linked Terms and Conditions

If this check box is selected, the terms and conditions agreement that is linked to the sales contract is also 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 up to Date

The date until which the data must be archived.

Archive Common Master Data

If this check box is selected, general data from Common is archived.

Note
Archive Sales Master 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.