ProductionReportConsumptionState
A single consumable used during the run reported by a ProductionReport.
TypeID of this consumption row (prefix "prc").
TypeID of the production report this consumption belongs to (prefix "prr").
The consumable that was used, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker carrying the partner-supplied external id and label when the item is not in our catalog.
quantityFloat!How much of the consumable was used during the reported run, expressed in unit.
Unit of measure the quantity is expressed in. CUSTOM means the actual unit name is carried in customUnit.
customUnitStringVertical- or partner-specific unit name (e.g. "sheets"), used when unit is CUSTOM. Null otherwise.
Freeform integration-supplied details about the consumption (e.g. a press vendor's ink configuration id). Null when the reporting system supplied none.
ISO-8601 timestamp of when this consumption row was recorded on the platform — not necessarily when the material was consumed on the shop floor.
View exact SDL
"""
A single consumable used during the run reported by a `ProductionReport`.
"""
type ProductionReportConsumptionState {
"""TypeID of this consumption row (prefix "prc")."""
id: ProductionReportConsumptionID!
"""
TypeID of the production report this consumption belongs to (prefix "prr").
"""
productionReportId: ProductionReportID!
"""
The consumable that was used, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker carrying the partner-supplied external id and label when the item is not in our catalog.
"""
stockable: Stockable!
"""
How much of the consumable was used during the reported run, expressed in `unit`.
"""
quantity: Float!
"""
Unit of measure the quantity is expressed in. CUSTOM means the actual unit name is carried in `customUnit`.
"""
unit: MetricUnit!
"""
Vertical- or partner-specific unit name (e.g. "sheets"), used when `unit` is CUSTOM. Null otherwise.
"""
customUnit: String
"""
Freeform integration-supplied details about the consumption (e.g. a press vendor's ink configuration id). Null when the reporting system supplied none.
"""
metadata: JSON
"""
ISO-8601 timestamp of when this consumption row was recorded on the platform — not necessarily when the material was consumed on the shop floor.
"""
createdAt: ISO8601!
}One stable address across all schema views. Follow a field’s type to explore connections between domains.