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
- The Cancel and Amend permissions on the DocType.
- Linked documents cancelled first. Read Cancel linked documents first.
Cancel and amend
- Open the submitted document.
- Select Cancel, and confirm. The status changes to Cancelled. ERPNext reverses the ledger and stock entries of the document.
- Select Amend. ERPNext creates a new draft with the same details.
- Make your changes, and save.
- 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:
- Cancel the Sales Invoice and the Delivery Note.
- Cancel and amend the Sales Order, and submit it.
- 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.