Skip to content

JobCostingSummaryPayload ​

Type: Object

Costing view of one job: material and operation cost lines, their totals, and the margin against the selling price of the order line the job was created for.

Fields ​

NameTypeArgsDescriptionDeprecated
errors[FieldError!]!Field-level errors. Empty on success; a single "job not found" entry on jobId when the job does not exist, in which case the rest of the payload is empty/zero.
jobJobStateThe job the summary was computed for. Null when no job with that id exists in the caller's tenant; errors then carries a "job not found" entry and all totals are zero.
marginFloatGross margin as a percentage of sellingPrice: (sellingPrice - totalCost) / sellingPrice * 100. Negative when the job is costing more than it sells for. Null when there is no sellingPrice or no cost has been booked yet.
materialCosts[CostLineItem!]!One line per purchase-order line belonging to a purchase order that references this job. Empty when nothing has been purchased against the job.
operationCosts[CostLineItem!]!One line per operation on the job, priced from the run-type cost mappings for the operation's kind and the current rate of each mapped cost category. Operations with no mapping or no current rate still appear, at zero cost.
sellingPriceFloatLine total of the order line this job was created for. Null when the job is not linked to any order line. If several order lines point at the job, the first one found is used.
totalCostFloat!totalMaterialCost + totalOperationCost — the job's cost to date. Not currency-converted.
totalMaterialCostFloat!Sum of totalCost over materialCosts. Not currency-converted.
totalOperationCostFloat!Sum of totalCost over operationCosts. Not currency-converted.

Relationships ​

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