DIN 0815/M · MOD-03
Inventory Management
Stock levels, SKUs, warehouse locations, and purchase order tracking in one place.
The core correctness property: stock levels are never stored, they are derived. Every change to inventory — goods in, transfers, stocktake corrections, PO receipts — is an entry in an append-only movements ledger, and the current level of any product in any warehouse is simply the sum of its movements. There is no mutable stock counter that can drift out of sync, and the test suite proves it.
What it does
- Append-only movements ledger — levels are always derived, never stored
- SKUs, warehouse locations and per-location stock
- Purchase-order tracking with goods-in receipts
- Stocktake corrections that reconcile without overwriting history
- Barcodes: scan GTIN or SKU, print EAN and Code 128 labels
- Reservations for confirmed orders — available stock derived
- Goods issues and receipts booked from Orders and Procurement, exactly once
How businesses use it
- UC-01 · HOSPITALITYIN USE TODAYA restaurant with a catering businessCold room, dry store and drinks cellar as separate locations, with reordering when an item falls below its minimum.
- UC-02 · TRADESIN USE TODAYAn electrical contractor with its own vansThe warehouse and every van as a location of its own; loading a van is a recorded transfer.
- UC-04 · WHOLESALE & RETAILIN USE TODAYA wine wholesaler that sells to restaurants and onlineStock per warehouse derived from every movement; stocktakes correct without overwriting history.