AssemblyStandardCost
The per-unit standard cost of a released assembly version: a dated snapshot rolled up with the bid roll-up over the default-option structure. Totals, buckets, sources and the move are null for a caller without permission to view costs.
type AssemblyStandardCost {
assemblyProductId: ID!
bomVersionId: ID!
buckets: JSON
computedAt: DateTime!
costModelVersionId: ID!
currency: String!
errors: JSON!
flagged: Boolean!
id: ID!
missingCount: Int!
movePct: String
sources: JSON
staleCount: Int!
status: AssemblyStandardCostStatus!
totalCost: String
}
Fields
AssemblyStandardCost.assemblyProductId ● ID! non-null scalar
The assembly product.
AssemblyStandardCost.bomVersionId ● ID! non-null scalar
The released BOM version rolled up.
AssemblyStandardCost.buckets ● JSON scalar
The twelve cost buckets of one unit as decimal strings (empty when INVALID).
AssemblyStandardCost.computedAt ● DateTime! non-null scalar
When this snapshot was computed.
AssemblyStandardCost.costModelVersionId ● ID! non-null scalar
The cost model version rolled up with.
AssemblyStandardCost.currency ● String! non-null scalar
The currency of every amount: the organization's base.
AssemblyStandardCost.errors ● JSON! non-null scalar
Why it is INVALID: a list of { path, code }; empty otherwise.
AssemblyStandardCost.flagged ● Boolean! non-null scalar
True when the move is beyond the cost model's alert threshold.
AssemblyStandardCost.id ● ID! non-null scalar
The snapshot's id.
AssemblyStandardCost.missingCount ● Int! non-null scalar
Components with no cost.
AssemblyStandardCost.movePct ● String scalar
Percent move from the previous snapshot of the assembly (4 dp, unbounded); null without a previous total or when it was zero.
AssemblyStandardCost.sources ● JSON scalar
Per component: node path, product, cost source and reference, sourced date, age in days and status as of computedAt, and the evidence.
AssemblyStandardCost.staleCount ● Int! non-null scalar
Components whose cost was stale as of computedAt.
AssemblyStandardCost.status ● AssemblyStandardCostStatus! non-null enum
How far the roll-up got.
AssemblyStandardCost.totalCost ● String scalar
Cost of one unit as an exact decimal string (4 dp); null when INVALID or without permission to view costs.
Returned By
assemblyStandardCost query ● assemblyStandardCostAlerts query ● assemblyStandardCostHistory query