ReportingMu Mutation

createCostCategory

Topics: Costing

Create a new cost category, failing if the code is already taken. Requires costcategory:write permission.

Returns

UpsertCostCategoryPayload!

Arguments

Cost category data

Exact field SDL
"""
Create a new cost category, failing if the code is already taken. Requires costcategory:write permission.
"""
createCostCategory(
  """Cost category data"""
  input: CreateCostCategoryInput!
): UpsertCostCategoryPayload! @topic(names: ["costing"])

Declared on Mutation. Access is checked by the platform for each operation.