Archive and Delete Sales Orders (tdsls4224m000)
Cette session permet delete, archive, or archive and delete sales order- and sales order line-data.
- The archiving functionality is available in this session only if the Archivage de commande client implémenté check box is selected in the Paramètres de commandes clients (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 Finances 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 Traiter jusqu'à la date de facturation 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 Archivage/suppression des projets (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) |
Informations sur le champ
- Suppression ou archivage
-
The method for processing the data.
You can select:
- Supprimer, if you want to delete the data.
- Archiver, if you want to transfer the data to the archive company.
- Les deux, if you want to transfer the data to the archive company and then delete the data from the operational company.
- Lancer les lignes dont le statut OPS est Manuel ou Non accepté
-
Si cette case est cochée, and errors occur during the deletion or archiving process, an error report is generated.
- Supprimer
-
- Suppression des lignes annulées
-
Si cette case est cochée, the canceled sales order lines are deleted. If after deletion a header without sequences remains, the header is also deleted.
- Supprimer jusqu'à la date de commande
-
The order date up to which the canceled sales order line data must be deleted.
- Supprimer les commandes traitées
-
Si cette case est cochée, the processed sales orders and order lines are deleted.
- Traiter jusqu'à la date de facturation
-
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.
- Supprimer les ordres sans lignes
-
Si cette case est cochée, the sales orders to which no lines are linked, are deleted.
- Supprimer jusqu'à la date de commande
-
The date up to which the sales orders without lines must be deleted.
The specified date is matched with the order date.
- Archiver
-
- Société d'origine
-
The company for which the data is archived.
- Société d'archivage
-
The archive company to which the data is transferred.
Note:This company is retrieved from the Société d'archivage field in the Composants logiciel implémentés (tccom0500m000) session.
- Archiver jusqu'à la date
-
The date up to which the data must be archived.
- Archiver les données de base de Données communes
-
Si cette case est cochée, general data from Données communes 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 Paramètres COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archiver les données de base de Vente
-
Si cette case est cochée, general data from Ventes 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 Paramètres COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archivage du texte
-
Si cette case est cochée, texts are also archived.
- Ecrasement du texte
-
Si cette case est cochée, texts that already exist in the archive company are replaced with the original text.