Archive and Delete Sales Orders (tdsls4224m000)
Utilizzare questa sessione per delete, archive, or archive and delete sales order- and sales order line-data.
- The archiving functionality is available in this session only if the Archiviazione ordini di vendita implementata check box is selected in the Parametri ordini di vendita (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 Contabilità 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 Elimina fino a data fattura 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 Archiviazione/Eliminazione progetti (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) |
Informazioni sui campi
- Archivia o elimina
-
The method for processing the data.
You can select:
- Elimina, if you want to delete the data.
- Archivia, if you want to transfer the data to the archive company.
- Entrambi, if you want to transfer the data to the archive company and then delete the data from the operational company.
- Stampa errori
-
Se questa casella di controllo è selezionata, and errors occur during the deletion or archiving process, an error report is generated.
- Eliminazione
-
- Elimina righe annullate
-
Se questa casella di controllo è selezionata, the canceled sales order lines are deleted. If after deletion a header without sequences remains, the header is also deleted.
- Elimina fino a data ordine
-
The order date up to which the canceled sales order line data must be deleted.
- Elimina ordini elaborati
-
Se questa casella di controllo è selezionata, the processed sales orders and order lines are deleted.
- Elimina fino a data fattura
-
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.
- Elimina ordini senza righe
-
Se questa casella di controllo è selezionata, the sales orders to which no lines are linked, are deleted.
- Elimina fino a data ordine
-
The date up to which the sales orders without lines must be deleted.
The specified date is matched with the order date.
- Archiviazione
-
- Società originaria
-
The company for which the data is archived.
- Società archiviazione
-
The archive company to which the data is transferred.
Note:This company is retrieved from the Società di archiviazione field in the Componenti software implementati (tccom0500m000) session.
- Archivia fino alla data
-
The date up to which the data must be archived.
- Archivia dati principali comuni
-
Se questa casella di controllo è selezionata, general data from Dati comuni 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 Parametri COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archivia dati principali vendite
-
Se questa casella di controllo è selezionata, general data from Vendite 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 Parametri COM (tccom5000m000) session.
- You can also use the Archive General Data (tccom0250m000) session to archive general data.
- Archivia testo
-
Se questa casella di controllo è selezionata, texts are also archived.
- Sovrascrivi testo
-
Se questa casella di controllo è selezionata, texts that already exist in the archive company are replaced with the original text.