Archive and Delete Invoice Data (cisli3205m000)
Use this session to delete, archive, or archive and delete the invoice data.
You can archive or delete the invoice data only if:
- The invoice is a standard invoice and is posted.
- The Invoice Status field is set to Canceled in the Invoices (cisli3105m000) session.
- The invoice is a Pro Forma invoice and the Invoice Status field is set to Printed in the Invoices (cisli3105m000) session.
- The Type of Invoice field is set to Consignment Invoice or Customs Invoice and the Invoice Status field is set to Printed in the Invoices (cisli3105m000) session. Also, the linked standard Invoice is posted and archived, if exists.
You can archive or delete the billable self-billed invoice lines only if:
- The linked billable line is not created.
- The linked invoice is posted.
- The Billing Sequence of the billable SBI line is set to a value of 0 in the Billable Lines (cisli8110m000) session.
You cannot delete an invoice if:
- An open entry exists for the invoice in the Invoice-to Business Partner Open Entries (tfacr2520m000) session.
- The invoice is an installment invoice, and the installments are not closed, not fully settled, or settlement invoices are not posted.
Field Information
- Archive/Delete
-
- Delete or Archive
-
- Delete or Archive
-
Indicates the action to be performed on invoice data.
Allowed values
- Delete
- Archive
- Archive and Delete
- None
Note:- This field can be set to Archive and Archive and Delete only if the Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session or the Archive-to Company field is specified.
- This field can be set to Archive and None only if the value in the Archive-to Company is not a Data Lake company.
- Delete
-
- Canceled Invoices
-
If this check box is selected, LN deletes all the invoices with Canceled status that falls within the selection range. When canceled invoices are deleted, the credit note related to the canceled invoices are also deleted.
Note: This field is enabled only if the Delete or Archive field is set to None. - Canceled Billable Lines
-
If this check box is selected, LN deletes all the billable lines with Canceled status.
Note: This field is enabled only if the Delete or Archive field is set to None. - Canceled Installments
-
If this check box is selected, LN deletes all the installments with Canceled status.
Note: This field is enabled only if the Delete or Archive field is set to None. - Canceled Manual Sales Invoices
-
If this check box is selected, LN deletes all the manual sales invoices with Canceled status.
Note: This field is enabled only if the Delete or Archive field is set to None. - Unused Master Data
-
If this check box is selected, LN deletes the master data which are not used.
Note: This field is enabled only if the Delete or Archive field is set to None.
- Settings
-
- Original Company
-
The code of the company for which archiving is performed.
Note: This field is displayed only if the Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session. - Description
-
The description or name of the code.
- Archive-to Company
-
The archive company to which the data is transferred.
Note:- This field is displayed only if the Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session.
- This value is defaulted from the Archive-to Company field in the Implemented Software Components (tccom0100s000) session.
- Description
-
The description or name of the code.
- Selection Range
-
- Invoice Number
-
The From and To fields define a range of: financial companies.
Note: This field is enabled only if:- The Delete or Archive field is set to None.
- The Canceled Invoices check box is selected.
- Transaction Type
-
The From and To fields define a range of: transaction type of the invoice.
Note: This field is enabled only if:- The Delete or Archive field is set to None.
- The Canceled Invoices check box is selected.
- Document Number
-
The From and To fields define a range of: invoice document number.
Note: This field is enabled only if:- The Delete or Archive field is set to None.
- The Canceled Invoices check box is selected.
- Up to Invoice Date
-
The invoice date up to which you select invoices.
Note: This field is enabled only if:- The Delete or Archive field is set to None.
- The Canceled Invoices check box is selected.
- Options
-
- Archive Common Master Data
-
If this check box is selected, the master data related to the archived data is archived.
Note:- This field is displayed based on one of these criteria:
- The Archive General Data only via session Archive General Data check box is cleared in the COM Parameters (tccom0000s000) session.
- The Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session.
- The Original Company is not an archive company.
- This field is enabled only if the Delete or Archive field is set to Archive or Archive and Delete.
- This field is displayed based on one of these criteria:
- Archive Invoicing Master Data
-
If this check box is selected, the master data related to Invoicing is archived.
Note:- This field is displayed based on one of these criteria:
- The Archive General Data only via session Archive General Data check box is cleared in the COM Parameters (tccom0000s000) session.
- The Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session.
- The Original Company is not an archive company.
- This field is enabled only if the Delete or Archive field is set to Archive or Archive and Delete.
- This field is displayed based on one of these criteria:
- Archive Text
-
If this check box is selected, LN archive the texts linked to the archived data.
Note:- This field is displayed only if the Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session.
- This field is enabled only if the Delete or Archive field is set to Archive or Archive and Delete.
- Overwrite Texts
-
If this check box is selected, LN overwrites the previously archived texts.
Note:- This field is displayed only if the Copy to Archive Company check box is selected in the Invoicing Parameters (cisli0100m000) session.
- This field is enabled only if:
- The Delete or Archive field is set to Archive or Archive and Delete.
- The Archive Text check box is selected.
- Print Deleted
-
If this check box is selected, LN prints a report of the deleted data.
Note: This field is enabled only if the Delete or Archive field is set to a value other thanArchive.
- Print Options
-
- Statistics
-
If this check box is selected, the application generates a report with the statistics data related to archiving. This report includes all the tables that are archived or deleted based on the data specified in this session.