General Ledger Document Flow
Journal entry lifecycle — Draft, Posted, Voided, Reversed — with batch and period gates.
General Ledger Document Flow
Journal entries are the ledger documents other modules post into. Status is enforced on JournalEntry. Batches and period closing gate what may post.
Hub: Target Document Flow. Overview: General Ledger.
Journal Entry
| Status | Meaning |
|---|---|
Draft |
Editable; not on books |
Posted |
On books |
Voided |
Posted then voided |
Reversed |
Posted then reversed |
Journal Entry — post, void, or reverse
flowchart TB Start((Create)) --> Draft[Draft] Draft -->|Post| Posted[Posted] Posted -->|Void| Voided[Voided] Posted -->|Reverse| Reversed[Reversed] class Start egkStart class Draft egkDraft class Posted egkSuccess class Voided,Reversed egkTerminal
| Action | Allowed when |
|---|---|
| Create / Edit lines | Draft (posted entries reject content changes) |
| Post | Draft → Posted (batch may post many) |
| Void | Posted only (requires reason) |
| Reverse | Posted only → Reversed |
Batch, period, and related gates
| Enum | Values | Gate |
|---|---|---|
BatchStatus |
Draft, Ready, Posted, Error |
Only Ready batches are eligible to post; Posted is terminal for the batch |
ClosingStatus |
Open, InProgress, Closed |
Closed periods reject further posting |
BudgetStatus |
Draft, Submitted, Active, Closed |
Budget lifecycle (not journal status) |
ReconciliationStatus |
Pending, Reconciled, Discrepancy |
Bank reconciliation |
Post gates — period and batch eligibility
flowchart TB
JE[Journal Draft] --> Period{Period ClosingStatus}
Period -->|Closed| Block[Post denied]
Period -->|Open / InProgress| Batch{BatchStatus}
Batch -->|Ready| Post[Post - Posted]
Batch -->|Draft / Error| Wait[Not eligible]
class JE egkDraft
class Period,Batch egkDecision
class Block egkError
class Post egkSuccess
class Wait egkWarn
#Post-action sync
After Post / Void / Reverse, grids and inquiry screens reload so status and drill-down links match the ledger. Failed posts (unbalanced, closed period) keep Draft.
#Scenarios
| Scenario | Result |
|---|---|
| Post balanced draft | Posted |
| Edit posted entry | Domain rejection |
| Void posted | Voided |
| Reverse posted | Source Reversed |
| Post into closed period | Rejected by period gate |