Skip to main content

BomWhereUsed

One place a product is used: a bill-of-materials version that holds it, directly (depth 1) or through sub-assemblies.

type BomWhereUsed {
assemblyProductId: ID!
componentProductId: ID!
depth: Int!
quantity: String!
status: BomVersionStatus!
versionId: ID!
versionNo: Int!
}

Fields​

BomWhereUsed.assemblyProductId ● ID! non-null scalar​

The assembly whose BOM holds the line.

BomWhereUsed.componentProductId ● ID! non-null scalar​

The product on the line: the one asked about at depth 1, a sub-assembly holding it deeper.

BomWhereUsed.depth ● Int! non-null scalar​

1 for a direct use, 2 for a use through one sub-assembly, …

BomWhereUsed.quantity ● String! non-null scalar​

Quantity of that product per one assembly, summed over the version's lines, as an exact decimal string.

BomWhereUsed.status ● BomVersionStatus! non-null enum​

That version's state.

BomWhereUsed.versionId ● ID! non-null scalar​

The version holding the line.

BomWhereUsed.versionNo ● Int! non-null scalar​

That version's number.

Returned By​

bomWhereUsed query