| State |
Count |
Included in On-Hand? |
Notes |
| On Hand (now) |
= $onHand ?> |
— |
Sum of movements; authoritative stock. |
| Good |
= $goodCalc ?> |
Yes |
Available to use (derived = On Hand − Needs Repair). |
| Needs Repair |
= $needsRepairQty ?> |
Yes |
Unavailable until fixed. |
| Total Loss |
= $lossQty ?> |
No |
Deducted via audit (Out). |
| Cannot Find |
= $missingQty ?> |
No |
Deducted via audit (Out). |
| Available to Use |
= $goodCalc ?> |
|
| Unavailable but On-Hand (Repair) |
= $needsRepairQty ?> |
|
| Removed (Loss + Missing) |
= $lossQty + $missingQty ?> |
|
Update states via Audit; stock movements are created automatically.