InventoryChangeRecord
One recorded change to inventory, with the levels it left behind. The building fields are the totals for the whole warehouse after the change; the location fields are the totals for the location that moved.
type InventoryChangeRecord {
buildingAllocated: Float!
buildingAvailableToAllocate: Float!
buildingAvailableToMake: Float!
buildingDamaged: Float!
buildingInStock: Float!
buildingPhysical: Float!
buildingQuarantine: Float!
buildingUnallocated: Float!
capturedAt: ISO8601DateTime!
company: Company
companyId: ID!
id: ID!
inventoryItemId: ID
locationAllocated: Float!
locationStockLevel: Float!
product: InventoryProduct
reason: InventoryChangeReasonEnum
sku: String!
warehouseId: String!
warehouseLocationId: String!
warehouseLocationName: String
warehouseName: String
}
Fields
InventoryChangeRecord.buildingAllocated ● Float! non-null scalar common
Units held for orders across the warehouse after the change.
InventoryChangeRecord.buildingAvailableToAllocate ● Float! non-null scalar common
What can still be held for an order across the warehouse, after the change. In stock minus what is held for orders, plus what could be assembled from components.
InventoryChangeRecord.buildingAvailableToMake ● Float! non-null scalar common
Units that could be assembled from components across the warehouse, after the change.
InventoryChangeRecord.buildingDamaged ● Float! non-null scalar common
Damaged units across the warehouse after the change.
InventoryChangeRecord.buildingInStock ● Float! non-null scalar common
Units in stock across the warehouse after the change.
InventoryChangeRecord.buildingPhysical ● Float! non-null scalar common
In stock plus quarantine plus damaged across the warehouse, after the change.
InventoryChangeRecord.buildingQuarantine ● Float! non-null scalar common
Units in quarantine across the warehouse after the change.
InventoryChangeRecord.buildingUnallocated ● Float! non-null scalar common
In stock minus what is held for orders across the warehouse, after the change. This is not available to sell, which also subtracts what has been ordered.
InventoryChangeRecord.capturedAt ● ISO8601DateTime! non-null scalar common
The moment the change happened (UTC).
InventoryChangeRecord.company ● Company object companies
The company the inventory belongs to.
InventoryChangeRecord.companyId ● ID! non-null scalar common
The company the inventory belongs to.
InventoryChangeRecord.id ● ID! non-null scalar common
Unique identifier of the change.
InventoryChangeRecord.inventoryItemId ● ID scalar common
The inventory item whose level changed, when it is still known.
InventoryChangeRecord.locationAllocated ● Float! non-null scalar common
Units held for orders at the location that moved, after the change.
InventoryChangeRecord.locationStockLevel ● Float! non-null scalar common
Physical units at the location that moved, after the change.
InventoryChangeRecord.product ● InventoryProduct object common
The product for this SKU, when it exists.
InventoryChangeRecord.reason ● InventoryChangeReasonEnum enum common
What moved the level. Empty when the change was recorded without one.
InventoryChangeRecord.sku ● String! non-null scalar common
The SKU whose inventory changed.
InventoryChangeRecord.warehouseId ● String! non-null scalar common
The warehouse the change happened in.
InventoryChangeRecord.warehouseLocationId ● String! non-null scalar common
The location within the warehouse that moved.
InventoryChangeRecord.warehouseLocationName ● String scalar common
The name the location goes by, empty when it no longer exists.
InventoryChangeRecord.warehouseName ● String scalar common
The name the warehouse goes by, empty when it no longer exists.
Member Of
InventoryChangeRecordConnection object ● InventoryChangeRecordEdge object