← API reference
Mutation / costing

createOperationCostMapping

Create a new operation cost mapping. Requires costcategory:write permission.

Arguments

Attributes of the new mapping. The id is server-assigned; isActive defaults to true when omitted.

Returns UpsertOperationCostMappingPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Create a new operation cost mapping. Requires costcategory:write permission.
"""
createOperationCostMapping(
  """
  Attributes of the new mapping. The id is server-assigned; `isActive` defaults to true when omitted.
  """
  input: CreateOperationCostMappingInput!
): UpsertOperationCostMappingPayload! @topic(names: ["costing"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.