Skip to content

ImportCostConfigurationPayload ​

Type: Object

Outcome of a CSV cost-configuration import: how many categories, mappings, and rate versions were written, and what was skipped or flagged. All writes happen in a single transaction.

Fields ​

NameTypeArgsDescriptionDeprecated
errors[FieldError!]!Per-row validation failures, each with a path (e.g. "csv.row[4].rate") and a message. Rows listed here were skipped; the rest of the import still committed. Empty means the import fully succeeded.
importedCategoriesInt!Number of distinct cost categories created or updated from the CSV (counted once per category code, even when several rows reference it).
importedMappingsInt!Number of distinct operation-to-cost-category mappings created or updated, keyed by (operationKind, costType).
importedRatesInt!Number of cost rate versions written. A new version is created only when a category has no current rate or its rate/currency changed; unchanged rates are not counted.
skippedRowsInt!Number of CSV data rows not applied — blank rows, plus rows rejected by validation (each rejection also appears in errors).
warnings[String!]!Non-fatal notices about rows that were still imported, e.g. an empty rate column defaulted to 0. Empty when the CSV was clean.

Connect machines, automate workflows, and build custom apps for print production.