InventoryItemStockTotals
An item’s stock totals. Current means the same as in itemstocks: the highest version per repository, a deleted head hides its pair, rows whose stock values are all zero do not count.
Services
Section titled “Services”| Service | Key |
|---|---|
| inventory | value type |
Fields
Section titled “Fields”Served by: inventory
| Name | Type | Description |
|---|---|---|
quantity |
Int64! | Sum of quantity over the current rows at non-virtual root repositories. A root’s quantity is the rollup of its whole subtree, so this counts every unit the item holds in physical repositories once. |
lastChangedAt |
Time | Latest createdAt over all current rows, virtual repositories included; null when the item has none. |