On this page
Approvals
How approvals work
Positive ERP can require one or more roles to approve a document before it's posted. A single approval engine serves every module (G3). Today, the document that goes through approvals is the journal voucher (Journal vouchers).
Approval templates
Each company has one template per document type, set up in Approval templates:
- No approval (the default): the document is posted straight away.
- Approval stages: one or more stages, in order. Each stage has:
- The Role that approves the stage.
- An optional From amount. The stage applies only when the document's amount reaches or exceeds this threshold. The amount is the total debit in the company's base currency.
How a document moves through approval
- The user selects Post on the draft.
- Positive ERP checks the whole document, exactly as it does when posting.
- If no stage applies, the document is posted immediately.
- If one or more stages apply, an approval request is created and the document's status becomes Waiting for approval. The notification Sent for approval. appears.
- The request appears on the Approvals waiting for me screen for every user who holds the current stage's role (in all companies, or in the document's company).
- An approver approves the stage, and the request moves to the next stage. Once every stage is approved, the request is Approved.
- The user selects Post again, and the document is posted.
- If any approver rejects it (with a mandatory note), the document goes back to Draft. It can then be edited and sent again.
The approval status is shown in the document header, in the Approval field: Not required, Pending, Approved, Rejected or Cancelled.
Settings while a document waits
The approval settings section in Settings (at organisation or company level) has two options. Both are off by default:
| Setting | When it's on |
|---|---|
| Allow saving a document while it waits for approval | The document can be edited while it waits, and the request stays pending |
| Allow posting a document while it waits for approval | The document can be posted before all approvals are complete |
When both are off (the default), a waiting document can be neither edited nor posted: The voucher is waiting for approval.
Business rules
- The engine is tied to the document itself, so the wrong document can never be approved by mistake (G3).
- A document that's already waiting can't be sent for approval again: The document already waits for approval.
- Only a user with a stage's role can approve it: You are not an approver of the current stage.
- A rejection needs a note: A rejection needs a note.
- Deleting a draft cancels any pending approval request on it.
- Posting a document whose approval request is still pending (where the setting allows it) cancels the pending request automatically and records a note in the audit trail (CB17).