Archive and Delete Sales Orders (tdsls4224m000)
Utilice esta sesión para delete, archive, or archive and delete sales order- and sales order line-data.
- The archiving functionality is available in this session only if the Archivado de orden de venta implementado check box is selected in the Parámetros de órdenes de venta (tdsls0100s400) session.
- Sales contracts must be archived before sales orders can be archived
- When all lines of an order are deleted, LN also deletes the sales order.
- If Finanzas 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.
- When a sales order is canceled, you can only delete the sales order and the related tables. If only a sales order line is canceled, the line can be deleted and archived.
You cannot delete a processed sales order or sales order line if for a linked order (delivery) line:
- The order (delivery) line is Canceled. Consequently, you must delete the sales order (delivery) line with the status Canceled in this session
- The order (delivery) line is invoiced after the date you specified in the Borrar hasta fecha de factura field.
- The order (delivery) line is not yet Processed.
- The order (delivery) line has an unconfirmed backorder quantity.
- The project of the order (delivery) line is not archived in the Archivar/borrar proyectos (tipcs2260m000) session.
- The EDI invoice (if applicable) is not yet sent.
Invoked tables
This table shows the data that is archived and/or deleted:
Sales order headers |
---|
Sales Orders (tdsls400) |
Sales Order Installments (tdsls010) |
Sales Order Activities (tdsls413) (for position zero) |
Sales Change Order Sequence Numbers (tdsls414) |
Order (Line) Blocking (tdsls420) (for position zero) |
Sales Order Promotion Link (tdsls436) |
Sales Order Potential Premium (tdsls437) |
Sales Order Premium Link (tdsls438) |
Document Global Trade Compliance Information (tcgtc100) as linked to the header |
Sales order Lines (tdsls401) |
Linked Order Line Data (tdsls402) |
Sales Order Bills of Material (tdsls403) |
Transfer Orders by Sales Order Line (tdsls404) |
Linked Accessary Order Lines (tdsls405) |
Sales Order Actual Delivery Lines (tdsls406) |
Order Lines Shipping Constraints Related Sets (tdsls407) |
Linked Order Line Data for Invoicing (tdsls408) |
Sales Order Actual Delivery Line COGS |
Sales Order Line Item Data (tdsls411) |
Order Priority Simulations (tdsls412) |
Sales Order Activities (tdsls413) |
Sales Order Estimated COGS (tdsls415) |
Sales Order Material Supply Line (tdsls416) |
Sales Order Line Confirmations (tdsls419) |
Order (Line) Blocking (tdsls420) |
Sales Deliveries (tdsls426) |
Sales Additional Cost Relations (tdsls427) |
Sales Order Main Item (tdsls461) |
Sales Order Line Components (tdsls463) |
Sales Order Line Components Potential Back Orders (tdsls464) |
Sales Order Line Components Estimated COGs (tdsls465) |
Sales Order Line Components Actual Deliveries (tdsls466) |
Sales Order Line Components Surplus (tdsls467) |
Sales Order Line Components Actual Delivery COGS (tdsls469) |
Specifications (tcibd420) |
Document Material Price Agreements (tcmpr100) |
Document Material Information (tcmpr110) |
Document Global Trade Compliance Information (tcgtc100) as linked to the line |
Additional Information (tcstl210) |
Información de campo
- Archivar o borrar
-
The method for processing the data.
You can select:
- Eliminar, if you want to delete the data.
- Archivar, if you want to transfer the data to the archive company.
- Ambos, if you want to transfer the data to the archive company and then delete the data from the operational company.
- Listar errores
-
Si esta casilla de verificación está seleccionada, and errors occur during the deletion or archiving process, an error report is generated.
- Borrar
-
- Borrar líneas canceladas
-
Si esta casilla de verificación está seleccionada, the canceled sales order lines are deleted. If after deletion a header without sequences remains, the header is also deleted.
- Borrar hasta fecha de orden
-
The order date up to which the canceled sales order line data must be deleted.
- Borrar órdenes procesadas
-
Si esta casilla de verificación está seleccionada, the processed sales orders and order lines are deleted.
- Borrar hasta fecha de factura
-
The date up to which the processed sales order data must be deleted. LN deletes all processed sales order lines of which the invoice date is earlier than the date as entered in this field.
- Borrar órdenes sin líneas
-
Si esta casilla de verificación está seleccionada, the sales orders to which no lines are linked, are deleted.
- Borrar hasta fecha de orden
-
The date up to which the sales orders without lines must be deleted.
The specified date is matched with the order date.
- Archivar
-
- Compañía original
-
The company for which the data is archived.
- Compañía de destino de archivado
-
The archive company to which the data is transferred.
Note:This company is retrieved from the Compañía de destino de archivado field in the Componentes de software implementados (tccom0500m000) session.
- Archivar hasta la fecha
-
The date up to which the data must be archived.
- Archivar datos maestros comunes
-
Si esta casilla de verificación está seleccionada, general data from Común 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 Parámetros de COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archivar datos maestros de ventas
-
Si esta casilla de verificación está seleccionada, general data from Ventas 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 Parámetros de COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archivar texto
-
Si esta casilla de verificación está seleccionada, texts are also archived.
- Sobrescribir texto
-
Si esta casilla de verificación está seleccionada, texts that already exist in the archive company are replaced with the original text.