Archive and Delete Purchase Orders (tdpur4224m000)

Use this session to delete, archive, or archive and delete purchase order- and purchase order line-data.

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.
  • Purchase contracts must be archived before purchase orders can be archived.
  • The method to delete the order data is based on the value of the Delete Order Data if Received Completely field in the Purchase Order Parameters (tdpur0100m400) session.
  • If Financials is implemented, we recommend that you do not delete order data in a fiscal year that has not yet been fully closed. This is because the GRINYA process uses information that would be deleted by this action. For best results, check whether the logistical balance for non-invoiced receipts matches the balance of the GRINYA accounts for the periods up to which you want to delete purchase order data.
  • When a purchase order is canceled, you can only delete the purchase order and the related tables. If only a purchase order line is canceled, the line can be deleted and archived.

You cannot delete a purchase order (line) if:

  • The linked warehouse order is closed but cannot be removed.
  • The purchase order is linked to a PCS project that is not yet archived. When the PCS project is archived, the purchase data is also archived and you can delete the purchase order.
  • A consignment replenishment order is not yet consumed completely.
  • The invoice is yet to be completely matched and approved.
  • The invoice amount is not yet inserted as turnover history.
  • The sales order or service order that is linked to the purchase order line, and for which an internal invoice must be sent from the purchase office to the sales office or service office, is not yet invoiced. In this case, you cannot delete the purchase order line before the sales order or service order is invoiced.

Invoked tables

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

Purchase order headers
Purchase Orders (tdpur400)
Purchase Order Activities (tdpur413) (for position zero)
Purchase Change Order Sequence Numbers (tdpur414)
Landed Cost Lines (tclct200) for the PO header origin
Document Global Trade Compliance Information (tcgtc100) as linked to the header
Purchase order Lines (tdpur401)
Purchase Contracts by Company (tdpur306)
Linked Order Line Data (tdpur402)
Purchase Order Bills of Material (tdpur403)
Purchase Actual Receipts (tdpur406)
Purchaser Order Line Item Data (tdpur411)
Purchase Order Activities (tdpur413)
Purchase Order Material Supply Line (tdpur416)
Purchase Order Line Confirmations (tdpur419)
Purchase Payable Receipts (tdpur430)
Purchase Order WIP Transactions (tdpur466)
Purchase Peg Distributions (tdpur500)
Purchase Peg Distribution Planning Details (tdpur501)
Supplier Stage Payment Lines (tdpur520)
Specifications (tcibd420)
Landed Cost Lines (tclct200)
Document Material Price Agreements (tcmpr100)
Document Material Information (tcmpr110)

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.
Delete
Delete Processed Orders

If this check box is selected, the processed purchase orders and order lines are deleted.

Delete up to Date

The date up to which the processed order data must be deleted.

The specified date is matched with the invoice date. If an invoice is not printed for the receipt of the goods, LN compares this date with the receipt date. Consequently, LN deletes all processed purchase order lines for which the invoice date or receipt date is earlier than the date specified in this field.

Delete Canceled Orders

If this check box is selected, the canceled purchase orders and order lines are deleted.

Delete up to Date

The date up to which the Canceled order data must be deleted.

The specified date is matched with the order date.

Delete Orders without Lines

If this check box is selected, the purchase orders to which no lines are linked, are deleted.

Delete up to Date

The date up to which the purchase orders without lines must be deleted.

The specified date is matched with the order date.

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 up to which the data must be archived.

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.