Cancel and amend a submitted document ​

You cannot change a submitted document, because it has already posted to the ledgers and stock. To correct it, you cancel it and amend it. Amending creates a new draft copy that you can change and submit.

Prerequisites ​

Cancel and amend ​

  1. Open the submitted document.
  2. Select Cancel, and confirm. The status changes to Cancelled. ERPNext reverses the ledger and stock entries of the document.
  3. Select Amend. ERPNext creates a new draft with the same details.
  4. Make your changes, and save.
  5. Select Submit.

The amended document gets a new ID. By default, ERPNext adds a counter to the original ID, for example SO-0001-1. Read Set up naming series to change this.

TIP

To change only a custom field, such as a reference number, you can avoid cancel and amend. Read Allow editing a field after submit.

Cancel linked documents first ​

You cannot cancel a document while submitted documents link to it. For example, to amend a Sales Order that has a Delivery Note and a Sales Invoice:

  1. Cancel the Sales Invoice and the Delivery Note.
  2. Cancel and amend the Sales Order, and submit it.
  3. Create the Delivery Note and Sales Invoice again from the amended Sales Order, or amend the cancelled ones.

To see the documents that link to a document, read View linked documents.