โ† API reference
Mutation / costing

importCostConfiguration

Import cost configuration from a CSV string. Upserts cost categories, operation-to-category mappings, and cost rates in a single transaction.

Arguments

The CSV to import and the merge mode to apply. Rate values are interpreted as an amount in the row's ISO 4217 currency (defaulting to EUR when blank) per one of the cost category's units (e.g. 75.0 / EUR / HOURS = EUR 75 per hour).

Returns ImportCostConfigurationPayload!

Scalar fields at a glance

importedCategoriesInt!
importedMappingsInt!
importedRatesInt!
skippedRowsInt!
warnings[String!]!
โ†— View the complete ImportCostConfigurationPayload type

Explore in a view

ERP Costing
View exact SDL
"""
Import cost configuration from a CSV string. Upserts cost categories, operation-to-category mappings, and cost rates in a single transaction.
"""
importCostConfiguration(
  """
  The CSV to import and the merge mode to apply. Rate values are interpreted as an amount in the row's ISO 4217 currency (defaulting to EUR when blank) per one of the cost category's units (e.g. 75.0 / EUR / HOURS = EUR 75 per hour).
  """
  input: ImportCostConfigurationInput!
): ImportCostConfigurationPayload! @topic(names: ["costing"])

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