Inventory control decomposes into 2 processes: 3.1 Take stock, 3.2 Look up stock.
flowchart LR
P31(("3.1 Take stock"))
P32(("3.2 Look up stock"))
stock_ledger[("Stock ledger")] -->|"Stock quantity"| P31(("3.1 Take stock"))
P31(("3.1 Take stock")) -->|"Counted quantity"| stock_ledger[("Stock ledger")]
P31(("3.1 Take stock")) -->|"Stocktake difference"| stocktake_records[("Stocktake records")]
book_ledger[("Book ledger")] -->|"Book details"| P31(("3.1 Take stock"))
stock_ledger[("Stock ledger")] -->|"Stock quantity"| P32(("3.2 Look up stock"))
book_ledger[("Book ledger")] -->|"Book details"| P32(("3.2 Look up stock"))
| ID | Flow | From | To | Higher-level flow | Description |
|---|---|---|---|---|---|
| F45 | Stock quantity | Stock ledger | 3.1 Take stock | F20 Stock quantity | |
| F46 | Counted quantity | 3.1 Take stock | Stock ledger | F21 Counted quantity | |
| F47 | Stocktake difference | 3.1 Take stock | Stocktake records | F22 Stocktake difference | |
| F48 | Book details | Book ledger | 3.1 Take stock | F23 Book details | |
| F49 | Stock quantity | Stock ledger | 3.2 Look up stock | F20 Stock quantity | |
| F50 | Book details | Book ledger | 3.2 Look up stock | F23 Book details |