← API reference
Mutation / costing

upsertOperationCostMapping

Create or update an operation cost mapping. Requires costcategory:write permission.

Arguments

The mapping to write. When id is present the existing mapping is fully replaced from these fields; when absent a new mapping is created.

Returns UpsertOperationCostMappingPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Create or update an operation cost mapping. Requires costcategory:write permission.
"""
upsertOperationCostMapping(
  """
  The mapping to write. When `id` is present the existing mapping is fully replaced from these fields; when absent a new mapping is created.
  """
  input: UpsertOperationCostMappingInput!
): UpsertOperationCostMappingPayload! @topic(names: ["costing"])

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