InventoryItem
Services
Section titled “Services”| Service | Key | Implements |
|---|---|---|
| file | id tenantID |
|
| inventory | sku |
NodeInventory |
Fields
Section titled “Fields”| Name | Type | Description | Served by | Deprecated |
|---|---|---|---|---|
id |
ID! | file, inventory | ||
tenantID |
UUID! | file, inventory | ||
file |
[File] | file | ||
dataTypeID |
UUID | inventory | ||
dataTypeSlug |
String | inventory | ||
data |
Map | inventory | ||
createdAt |
Time! | inventory | ||
createdBy |
UUID! | inventory | ||
updatedAt |
Time | inventory | ||
updatedBy |
UUID | inventory | ||
deletedAt |
Time | inventory | ||
deletedBy |
UUID | inventory | ||
sku |
String! | inventory | ||
itemset |
[InventoryItemSet!] | inventory | ||
itemstocks |
[Stock!] | The current stock row of each repository where the item has stock: rows whose stock values are all zero are omitted. Refused above 10000 rows; query currentStocks for such items. The stock history is available through stocks. |
inventory | |
currentStockTotals |
InventoryItemStockTotals! | Totals over the item’s current stock rows, for list views that show one line per item: read it instead of summing itemstocks on the client. |
inventory | |
itemmovementitems |
[ItemMovement!] | The item’s 200 most recent movements. | inventory | Capped at 200 rows; query itemMovements(where: {itemID}) to paginate. |
itemtransactions |
[Transaction!] | The item’s 200 most recent transactions. | inventory | Capped at 200 rows; query transactions(where: {itemID}) to paginate. |