Appearance
ProductionReportConsumptionState
Type: Object
A single consumable used during the run reported by a ProductionReport.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| createdAt | ISO8601! | ISO-8601 timestamp of when this consumption row was recorded on the platform — not necessarily when the material was consumed on the shop floor. | ||
| customUnit | String | Vertical- or partner-specific unit name (e.g. "sheets"), used when unit is CUSTOM. Null otherwise. | ||
| id | ProductionReportConsumptionID! | TypeID of this consumption row (prefix "prc"). | ||
| metadata | JSON | Freeform integration-supplied details about the consumption (e.g. a press vendor's ink configuration id). Null when the reporting system supplied none. | ||
| productionReportId | ProductionReportID! | TypeID of the production report this consumption belongs to (prefix "prr"). | ||
| quantity | Float! | How much of the consumable was used during the reported run, expressed in unit. | ||
| stockable | Stockable! | 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. | ||
| unit | MetricUnit! | Unit of measure the quantity is expressed in. CUSTOM means the actual unit name is carried in customUnit. |