Feature Request: Alternative Posted + Lock/Unlock Workflow
Problem
ERPNext currently uses:
Draft → Submit → Cancel → Amend → New Document
Once a document is submitted, correcting even a small mistake generally requires cancellation and amendment. Every amendment creates another document/version.
For example, if a Purchase Receipt has:
- Wrong item
- Wrong quantity
- Wrong rate
the user may have to cancel and amend the document multiple times.
One real transaction can therefore become:
PR-00001 → PR-00001-1 → PR-00001-2 → PR-00001-3
Or
PR-00001 → PR-00002 → PR-00003 → PR-00004
At scale, this creates unnecessary document proliferation and makes reports, reconciliation and document history more complicated.
Proposed Solution
Please consider providing an alternative document lifecycle for submittable DocTypes:
Draft → Posted → Locked
and, for authorized users:
Locked → Unlocked → Edit → Lock
This would give authorized users the flexibility to correct genuine data-entry mistakes after submission, such as incorrect item selection, item name or description, quantity, unit of measure, unit price/rate, warehouse, posting date, delivery date, supplier or customer reference, tax details, remarks, project/cost center, and other permitted transaction details, without having to cancel and create a new amended document for every correction.
Any changes that affect the General Ledger, Stock Ledger, taxes, valuation, outstanding amounts, or other accounting/stock-related records should remain subject to the appropriate system validations and controls. The purpose is not to bypass accounting controls, but to provide an authorized and auditable way to make legitimate corrections without unnecessarily creating a new amended document.
“We are not asking to bypass accounting controls; we are asking for a controlled alternative to Cancel & Amend.”
The existing Cancel/Amend workflow can remain available for companies that require strict immutable documents.
Why “Posted”?
Instead of using Submit, the system could optionally use terminology such as:
Draft → Posted → Locked
“Posted” clearly represents that the transaction has been finalized/posted to the system, while Lock/Unlock controls whether the document can be edited.
This separates two different concepts:
- Posted = business/accounting status
- Locked/Unlocked = editing status
Example
Employee creates:
Purchase Receipt PR-00001
→ Draft
→ Posted
→ Automatically Locked
Manager discovers the quantity is wrong:
Unlock → Change Qty 10 → 12 → Save → Lock
The document remains:
PR-00001
instead of creating:
PR-00001-1 OR PR-00002
If another correction is required later, the same process can be repeated while maintaining the complete Version/Audit history.
Permissions
Unlocking should be permission-controlled, e.g.:
Employee: Cannot Unlock
Manager: Can Unlock
Administrator: Full access
An optional Unlock Reason could also be recorded in the audit trail.
Important
This should be an alternative workflow, not a replacement for the existing Cancel/Amend process.
Some businesses need strict immutable documents, while many SMEs need controlled correction of genuine data-entry mistakes without creating multiple amended documents.
The goal is:
Better auditability without unnecessary document proliferation.
This concept could potentially apply to Purchase Receipt, Purchase Invoice, Sales Order, Sales Invoice, Delivery Note, Purchase Order, Stock Entry, Payment Entry, Landed Cost Voucher and other submittable DocTypes.
Supporting Photos:
Lock Visibility on hover on lock icon

For More Info please see below lin:







