← API reference
CANONICAL TYPE REFERENCE

OperationCostMappingState

Maps an operation kind to a cost category with cost type for automated costing

Unique identifier

Operation kind code (e.g. OFFSET_PRINTING)

Linked cost category ID

Cost type: SETUP, RUN, or MATERIAL

Quantity formula (e.g. impressions, hours, sheets). Missing formulas count one setup event or waste-adjusted run output for non-time units. HOURS/MINUTES rates use separate calculated setup/run durations or explicit phase seconds; unknown/unavailable formulas are errors.

isActiveBoolean!

Whether the mapping is active

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""
Maps an operation kind to a cost category with cost type for automated costing
"""
type OperationCostMappingState @iac_resource(name: "operation_cost_mapping") @iac_ops(create: "createOperationCostMapping", read: "getOperationCostMapping", update: "updateOperationCostMapping", delete: "deleteOperationCostMapping") {
  """Unique identifier"""
  id: OperationCostMappingID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Operation kind code (e.g. OFFSET_PRINTING)"""
  operationKind: String!
  """Linked cost category ID"""
  costCategoryId: CostCategoryID! @iac_ref(resource: "cost_category")
  """Cost type: SETUP, RUN, or MATERIAL"""
  costType: CostType!
  """
  Quantity formula (e.g. impressions, hours, sheets). Missing formulas count one setup event or waste-adjusted run output for non-time units. HOURS/MINUTES rates use separate calculated setup/run durations or explicit phase seconds; unknown/unavailable formulas are errors.
  """
  defaultQuantityFormula: String
  """Whether the mapping is active"""
  isActive: Boolean!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.