DashboardInventoryPurchasing
Where the cost came from
Stock is not a number. It is layers, each bought at its own price, drawn oldest first — and each one names the purchase order and supplier behind it.
TryOpen a stock layer. It names where those units came from and what they cost.
| Received | Where it came from | Supplier | Received | Left | Unit cost | Batch value |
|---|---|---|---|---|---|---|
| May 12, 2026 | PO-1041 | Nile Textile | 40 | 0 | EGP 420 | EGP 0 |
| Jun 18, 2026 | PO-1052 | Delta Garments | 24 | 24 | EGP 455 | EGP 10,920 |
| Jul 13, 2026 | RET-0031Returned to the shelf | — | 2 | 2 | EGP 420 | EGP 840 |
| Jul 22, 2026 | RET-0034Returned to the shelf | — | 2 | 2 | EGP 420 | EGP 840 |
| Jul 24, 2026 | PO-1067 | Nile Textile | 20 | 20 | EGP 468 | EGP 9,360 |
| Aug 2, 2026 | RET-0036Returned to the shelf | — | 2 | 2 | EGP 420 | EGP 840 |
Where this layer came from
- Purchase order
- PO-1041
- Supplier
- Nile Textile
- Ordered
- Apr 28, 2026
- Received
- May 12, 2026
- Status
- Received
This is the whole of purchasing, reached from a cost rather than from a menu: an order was raised with a supplier, it arrived, and what arrived became a priced layer. Every figure downstream of it can be walked back to this row.
What you owe on it
- Order value
- EGP 16,800
- Paid so far
- EGP 16,800
- Still owed
- EGP 0
- Status
- Paid
Knit Scarf · One Size
PRD-004124-CHR-OS- Batch value
- —
- Fallback cost
- —
- Resolved cost
- —
This variant has no layer and no fallback price, so its cost is not known. The product records that as unknown and carries it through untouched. It never becomes a zero, because a zero would report a perfect margin as a fact.
| Product / SKU | Stock | Sold per day | Days of cover | Status |
|---|---|---|---|---|
| Puffer JacketPRD-004120-BLK-M | 50 | 0.33 | 150 | Healthy |
| Puffer JacketPRD-004120-BLK-L | 0 | 0 | — | Out of stock |
| Puffer JacketPRD-004120-SND-M | 4 | 0 | — | No sales velocity |
| Puffer JacketPRD-004120-SND-L | 9 | 0 | — | No sales velocity |
| Wool CoatPRD-004121-CML-M | 7 | 0.17 | 42 | Healthy |
What this moved elsewhere
Why it works this way
Because layers carry their own price, a cost is traceable rather than typed. Units that a customer sent back re-enter the same queue at exactly the price they left on, so a return does not quietly re-price the shelf. And when there is no layer and no price at all, the answer is that it is not known.
Read the documentation on this