← All types
In Input object

CreateOperationCostMappingInput

Input for creating an operation cost mapping

Fields

Operation kind code (required)

Cost category ID (required)

Cost type (required)

Possible values (3)
SETUP

Fixed setup cost per operation

RUN

Variable run cost scaling with quantity

MATERIAL

Material cost

Quantity formula. Missing formulas count one setup event or waste-adjusted run output for non-time units. Time rates use compatible machine profiles or explicit setup/run seconds; hours/minutes formulas must match the rate unit. Unknown/unavailable formulas or missing time quantities prevent automatic quoting.

Whether the mapping is active

Referenced by (1)
Exact type SDL
"""Input for creating an operation cost mapping"""
input CreateOperationCostMappingInput {
  """Operation kind code (required)"""
  operationKind: String!
  """Cost category ID (required)"""
  costCategoryId: CostCategoryID!
  """Cost type (required)"""
  costType: CostType!
  """
  Quantity formula. Missing formulas count one setup event or waste-adjusted run output for non-time units. Time rates use compatible machine profiles or explicit setup/run seconds; hours/minutes formulas must match the rate unit. Unknown/unavailable formulas or missing time quantities prevent automatic quoting.
  """
  defaultQuantityFormula: String
  """Whether the mapping is active"""
  isActive: Boolean
}