Delete Purchase Orders (tdpur4224m000)

Use this session to delete:

  • Canceled purchase order lines.
  • Processed purchase order lines.
  • Purchase orders without purchase order lines.

You cannot delete a purchase order (line) if:

  • The linked warehouse order that is closed cannot be removed yet.
  • The purchase order belongs to a PCS project that is not yet archived. When the PCS project is archived, all purchase data is archived as well. From that moment on, you an delete the purchase order.
  • A consignment replenishment order is not yet consumed completely.
  • The invoice is not completely matched and approved yet.
  • The invoice amount is not inserted as turnover history yet.
  • 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 invoiced yet. In this case, you cannot delete the purchase order line before the sales order or service order is invoiced.
Important!

If LN runs into one of the above mentioned problems, the deletion process stops. You must first solve the problem before you can continue deleting.

During the deletion process, the following data (if present) is removed:

  • Inspection data.
  • Linked order line data.
  • The purchase order line bill of material (BOM).
  • The purchase order line.
  • Purchase actual receipts, as displayed in the Purchase Receipts (tdpur4106m000) session.
  • Landed costs, as displayed in the Landed Cost Lines (tclct2100m000) session.
  • The purchase order header, after all order lines are deleted.
Note

The way in which LN deletes the order data depends on the value of the Delete Order Data if Received Completely field in the Purchase Order Parameters (tdpur0100m400) session.

 

Delete Processed Orders
If this check box is selected, LN deletes the purchase order lines that are Processed.
Delete up to Date
The date until which you want LN to delete the Processed order data.

The entered date is matched with the invoice date. If no invoice is printed for the receipt of the goods, LN compares this date with the receipt date. As a result, LN deletes all processed purchase order lines of which the invoice date or receipt date is earlier than the date as entered in this field.

Delete Cancelled Orders
If this check box is selected, LN deletes the purchase order lines that are Canceled.
Delete up to Date
The date until which you want to delete the Canceled purchase order data.

The entered date is matched with the order date.

Delete Orders without Lines
If this check box is selected, LN deletes the purchase orders to which no lines are linked.
Delete up to Date
The date until which you want to delete the purchase orders without lines.

The entered date is matched with the order date.

Print Errors
If this check box is selected, if errors occur during the deletion process, LN prints an error report.