01 · Orders
Find out what is holding up an order
The order queue shows status, promised date and value. Opening a waiting order shows the product and quantity still needed.
I built a web app that helps warehouse teams see what stock they can promise to customers, reserve it for orders and follow each order through to dispatch.
The problem
A shelf count includes stock already set aside for other orders. Stockroom Desk shows the balance by product and location so an operator can see how much is free to sell before confirming an order.
Ikeja Main · Still water 750 ml
Available = on hand − reserved
A new order for six cartons would wait for stock.
Order fulfilment
Follow six cartons of still water ordered by Maple Corner Stores at Ikeja Main. The stock balance changes as the operator receives, reserves and dispatches the cartons.
01 · Orders
The order queue shows status, promised date and value. Opening a waiting order shows the product and quantity still needed.
02 · Reserve and dispatch
Maple Corner Stores orders six cartons when only four are available. After a receipt of 12, the operator reserves six for SO-02402 and confirms dispatch.

03 · Inventory and activity
Dispatch reduces on-hand and reserved stock by six cartons each. The available balance stays at ten because those cartons had already been set aside.
| Step | On hand | Reserved | Available |
|---|---|---|---|
| Order waiting for stock | 12 | 8 | 4 |
| Receive 12 cartons | 24 | 8 | 16 |
| Reserve 6 cartons | 24 | 14 | 10 |
| Dispatch 6 cartons | 18 | 8 | 10 |
Database verification
In pgAdmin, I queried the same SKU and location. The result matched the Inventory screen at 18 on hand, eight reserved and ten available.
The React and TypeScript interface talks to an Express API. PostgreSQL calculates available stock. During reservation, the workflow locks the inventory rows so two orders cannot reserve the same cartons.
