Zedonkopedia | Z.Hub

How To - Delete/Inactivate Sales Documents in the Right Order

You cannot delete a Sales Order or its documents in Zedonk, but you can make them inactive. An inactive document is hidden from your list views and no longer counts in your figures. Making an order inactive excludes it from production planning, raw material requirements and related processes.

Each document is created from the one before it, so Zedonk will not let you inactivate a document while another document was created from it.

For example, you cannot inactivate a Sales Order (SO) while a Delivery Note (DN) created from it is still active. This guide shows how to inactive documents, from the last document created back to the Sales Order (Order Confirmation).

How documents are linked

  • Sales Order (SO) > Proforma (PF)
  • Sales Order (SO) > Pick Ticket (PT) > Delivery Note (DN)
  • Delivery Note (DN) > Invoice (IN)
  • Delivery Note (DN) > Returns Authorisation (RA)
  • Invoice (IN) > Credit Note (CN)
  • Returns Authorisation (RA) > Credit Note (CN)

You can see every document for an order in its Order Tracker [OT].

See: Sales Orders - Order Tracker.

How to inactivate any document

If the document is Locked, you will need to unlock it before you can make it inactive.

Depending on your User permissions, you may need an Admin to unlock it for you.

  1. In the Orders list view, find the Sales Order and click [OT] to open the Order Tracker.
  2. Click the document number to open it.
  3. Untick Active.
  4. Click [Save and Close].

Once inactive the document shows with a line through it in the Order Tracker.

The order to inactivate documents

Work down this list and skip any document you don't have.

  1. Credit Notes (CN). See: Credit Notes - Delete/Inactivate a Credit Note.
  2. Returns Authorisations (RA). See: Returns Authorisations - Delete/Inactive Returns Authorisations.
  3. Invoices (IN). If a Credit Note was created from the Invoice, inactivate it first. See: Invoices - Delete/Inactivate Invoice.
  4. Delivery Notes (DN). If an Invoice or Returns Authorisation was created from the Delivery Note, inactivate those first. The goods go back into stock as if the delivery had never happened. See: Delivery Notes - Delete/Inactivate Delivery Note.
  5. Pick Tickets (PT). The quantities are released back to your closing stock. A Pick Ticket that has been converted is now a Delivery Note with the same number, so inactivate it as a Delivery Note. See: Stock Allocation - Pick Tickets (PT) - Delete/Inactive Pick Tickets.
  6. Proformas (PF). See: Proformas - Delete/Inactivate Proforma.
  7. The Sales Order (SO). Once every other document is inactive, untick Active on the Sales Order. It is then left out of production planning and raw material requirements. See: Sales Orders - Delete/Inactivate Sales Order.

Example

An order, SO-00159, has three sub-documents linked to it: a Delivery Note, an Invoice and a Credit Note. To inactivate the Sales Order, follow these steps:

  1. Inactivate the Credit Note.
  2. Inactivate the Invoice.
  3. Inactivate the Delivery Note.
  4. Once the sub-documents are inactive, inactivate the Sales Order.

If you can't untick Active

There is still an active document linked to the document you are trying to inactivate.

In this case the Active box is greyed out. Hover over it and you will see this message: "This document has active subsidiary documents (e.g. Delivery Notes) and so cannot be made inactive".

In the Order Tracker, look for any document without a line through it, and inactivate that first.

If you need to see inactive documents

In the Sales Orders List View, click the red cross next to the 'Active' filter to include inactive records.

Inactive documents will show with a line through them.

Should you inactivate or Force Close?

Inactivate a Sales Order if it was raised in error, or you are cancelling it before production.

If production has started and you won't deliver the units, Force Close the Sales Order instead.

Watch our short video below to see how to cancel a Sales Order.

Previous Article How To - Create Export Declarations
Next Article How To - Create Customer Account Management Groups