OperationCostMappingState
Maps an operation kind to a cost category with cost type for automated costing
Fields
Unique identifier
Operation kind code (e.g. OFFSET_PRINTING)
Linked cost category ID
Cost type: SETUP, RUN, or MATERIAL
Possible values (3)
SETUPFixed setup cost per operation
RUNVariable run cost scaling with quantity
MATERIALMaterial cost
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.
Whether the mapping is active
Creation timestamp (ISO8601)
Last update timestamp (ISO8601)
Referenced by (3)
Exact type 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
}