ZyncDocs · ZyncGold ERP · Flow Diagrams
Stock lifecycle: SavedAvailableInTransitSold
Visual · End-to-End Lifecycle

ZyncGold ERP — Flow Diagrams

One picture of the whole trading lifecycle: HQ buys stock from a supplier, transfers it to a branch, the branch sells it — either a normal retail sale or a trading sale where the customer part-pays with old gold — and the day's old gold is transferred back to HQ. Swimlanes are the four actors; the timeline runs top to bottom through the three operational phases. Each step carries its stock-state change and the key debit/credit it posts. The detailed step-by-step versions live in the process playbooks.

1
Unified flow
4
Actors / lanes
3
Phases

Purchase · Sales · Trading → Stock back to HQ

The unified flow map

Read top to bottom. Solid arrows are the document/stock flow; a stock transfer posts no ledger entry (it is logistics, not a transaction). The trading branch is the path that ends with old gold consolidated at HQ.

C · PROCUREMENT & DISTRIBUTION D · SALES E · RECONCILIATION Supplier HQ Branch Customer START END delivers dispatch No old gold Yes — old gold settle trade-in old gold in return Supplier delivers pieces · issues bill to HQ Create purchase invoice each line = a physical piece Saved Post purchase invoice stock becomes sellable Saved Available DR Inventory · CR Supplier creditor Pay supplier DR Supplier creditor · CR Cash / Bank Transfer → branch Available InTransit logistics only · no GL posting Confirm receipt InTransit Available now Available @ branch Customer brings old gold? Normal retail sale Available Sold DR Customer A/R · CR Inventory goods pass through — no Sales/COGS Customer pays DR Cash / Bank · CR Customer A/R SOLD ✓ Trading sale sell new piece · buy old gold @ BUY rate new piece: Available Sold DR Customer A/R · CR Inventory Old gold + balance pays net = sale − trade-in value DR Cash · CR Customer A/R (balance) Old gold enters stock auto-purchase · customer = supplier Available · scrap @ branch DR Inventory (old gold in) · CR Customer EOD: return scrap → HQ Available InTransit ⚑ rides generic transfer (gap) Receipt @ HQ old gold consolidated centrally InTransit Available @ HQ

The spine to HQ: Purchase → Post → Pay → Transfer → Receive → old gold? → Trading sale → old gold in → end-of-day return → consolidated at HQ. A normal sale is the No branch and ends at Sold. Stock transfers (HQ→branch and the EOD return) post no ledger entry.

Reading the diagram

How to read it legend

Supplier lane HQ lane Branch lane Customer lane
AvailableSold stock-state change on a step DR / CR the debit / credit it posts ◇ diamond a branch (decision) point ⚑ gap documented as not-yet-built
  • Lanes are the four actors, shown as columns; time flows top to bottom through phases C → D → E.
  • Goods pass through Inventory on a sale — there is no Sales-Revenue or COGS account; margin sits in inventory valuation and the making charge.
  • A trading sale books the customer's old gold as an auto-generated purchase invoice (customer as the “supplier”), so it stays tracked as inventory; the customer pays only the balance.
  • Both stock transfers (HQ → branch, and the EOD return to HQ) are pure logistics — they move stock and location only, with no GL posting.

Phase by phase

Phase notes notes

The diagram compresses five playbooks into one picture. Each phase links to its full step-by-step version with rules, gotchas and the requirements it is built on.

C · Procurement & Distribution

HQ buys from a supplier (purchase playbook): posting the invoice flips stock SavedAvailable and posts DR Inventory / CR Supplier creditor; a separate payment settles the bill. Stock then moves to a branch via a transferAvailableInTransitAvailable, no ledger.

D · Sales

At the branch the flow forks on whether the customer brings old gold. A normal sale marks the piece Sold and bills the customer (goods pass through Inventory). A trading sale sells the new piece and buys the old gold at the day's buy rate; the trade-in is booked as an auto-purchase that credits the customer's account, so they pay only sale total − trade-in, and the old gold enters branch stock as scrap.

E · Reconciliation

At close, each branch sends the day's old gold back to HQ (return to HQ) — the end of this diagram. ⚑ gap there is no purpose-built end-of-day flow; it rides the same generic branch-transfer in reverse, and no cash cut-off is enforced. Once received, the consolidated old gold can feed the treasury / metal-settlement design (Phase F).