← All types
ProductionOb Object

ProductionReportConsumptionState

A single consumable used during the run reported by a ProductionReport.

Fields

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.

quantity

Float!Non-null

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.

Possible values (39)
NONE

No unit

PERCENT

Percentage (0-100)

RATIO

Ratio (0.0-1.0)

BOOLEAN

Boolean (0 or 1)

COUNT

Generic count

PIECES

Discrete pieces/items

MILLIMETERS

Millimeters

METERS

Meters

INCHES

Inches

FEET

Feet

METERS_PER_MINUTE

Meters per minute

FEET_PER_MINUTE

Feet per minute

UNITS_PER_MINUTE

Units per minute (generic)

UNITS_PER_HOUR

Units per hour (generic)

CELSIUS

Degrees Celsius

FAHRENHEIT

Degrees Fahrenheit

KELVIN

Kelvin

BAR

Bar

PSI

Pounds per square inch

KILOPASCAL

Kilopascal

GRAMS

Grams

KILOGRAMS

Kilograms

POUNDS

Pounds

MILLILITERS

Milliliters

LITERS

Liters

SQUARE_METERS

Square meters

SQUARE_FEET

Square feet

MILLISECONDS

Milliseconds

SECONDS

Seconds

MINUTES

Minutes

HOURS

Hours

VOLTS

Volts

AMPS

Amperes

WATTS

Watts

KILOWATT_HOURS

Kilowatt-hours

BYTES

Bytes

KILOBYTES

Kilobytes

MEGABYTES

Megabytes

CUSTOM

Vertical-specific or user-defined unit — provide the unit name in customUnit

Vertical- or partner-specific unit name (e.g. "sheets"), used when unit is CUSTOM. Null otherwise.

metadata

JSONNullable

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.

Referenced by (1)
Exact type 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!
}