#59587·erpnext

Feat: Alternative Posted + Lock/Unlock Workflow For Submittable Doctypes

Author: Usman-KanzCreated Sep 29, 2026Updated Sep 30, 2026
Labelsfeature-request

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

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:

Invoice Layout Image

Can be Edit Image

Lock Invoice Image

Lock Reason Image

Cannot Edit Image

Lock Visibility on hover on lock icon Image

Unlock Invoice Image

Unlock Reason Image

Can be Edit Image

For More Info please see below lin: https://www.zoho.com/ae/books/help/settings/customization/record-locking.html