Products & stock
Stock lives in a single ledger
Sales, returns, counts and XML updates all write to the same ledger. The answer to “why did stock change” stays in the list.
Product & StockStock movement ledger
| Movement | Qty | Left |
|---|---|---|
| In | +120 | 142 |
| Out | −46 | 96 |
| Count difference | −2 | 94 |
Every time stock changes it is written down with the figure before, the figure after, the reason and the order number where there is one. “Where did this product go” is answered from the record, not from memory. Stock never falls below zero.












