| # Delete Sales Orders (tdsls4224m000) Path://Sales/Sales Orders (tdsls4100m000), menu command Delete Orders Session objective To delete canceled orders, processed orders, and/or sales orders without lines, use this session. When you delete data, all detailed operational data is removed from the tables; the sales order history will not be deleted. This session is not an actual archiving session, because it does not copy data to an archive company before removing the data. The session is described here, because it is important for deleting operational data and often a prerequisite for other archiving sessions. How to use this session The session can be used to delete canceled orders, processed orders, and sales orders without lines. For all actions, you can enter a delete up to date. The ‘Delete Sales Orders’ process performs the following actions: Delete order blocking. Delete order priority simulations. Delete order specific BOM lines. Delete order specific addresses. Delete Installments. Delete specific inspection data. Delete order header and lines. If the Finance package is implemented, for best results you must not delete order data in a fiscal year that has not been fully closed. If you perform matching, logistic transactions with financial transactions might become impossible. Depending on the Method of Deleting Order Data parameter setting in the Sales Order Parameters (tdsls0100s400) session, data is cleared by order line or by order. If you select By Order, and as long as not all items in the order have been delivered, you will always have the delivery data of the entire order at your disposal. Prerequisites A sales order line can only be deleted if the following criteria are met: The sales order history has been updated. The sold-to business partners open balance has been updated. All installments have been invoiced and the order has status Closed. The sales order has been invoiced, and the EDI invoice has been sent. The project has been archived or deleted for project-related sales. The backorder quantity is zero or the line has been canceled. The outbound advice has been fully processed. Invoked tables
Sales Orders | tdsls400 | Deleted
Sales Order Lines | tdsls401 | Deleted
Linked Order Line Data | tdsls402 | Deleted
Sales Order BOM | tdsls403 | Deleted
Linked accessory Order Lines | tdsls405 | Deleted
Sales Order Actual Delivery Lines | tdsls406 | Deleted
Order Lines Shipping Constraints related sets | tdsls407 | Deleted
Linked Order line data for invoicing | tdsls408 | Deleted
Sales Order Actual Delivery Lines COGS | tdsls409 | Deleted
Installments schedules | tdsls410 | Deleted
Order priority simulations | tdsls412 | Deleted
Sales Order Material Supply Lines | tdsls416 | Deleted
Order (line) blocking | tdsls420 | Deleted
Link (BOM/Material, Routing/Operations) | qmptc012 | Deleted
Order-Specific Inspections | qmptc049 | Deleted
This session invokes other sessions, but these are less relevant. |