UpsertOperationCostMappingInput
Input for creating or updating an operation cost mapping
Fields
ID for update; omit for create
Operation kind code (required)
Cost category ID (required)
Cost type (required)
Possible values (3)
SETUPFixed setup cost per operation
RUNVariable run cost scaling with quantity
MATERIALMaterial 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 or updating an operation cost mapping"""
input UpsertOperationCostMappingInput {
"""ID for update; omit for create"""
id: OperationCostMappingID
"""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
}