BomLineInput
One line to add (no id) or change (its id) in a draft bill of materials.
input BomLineInput {
alternateProductIds: [ID!]
componentProductId: ID!
drawingRef: String
findNumber: String
id: ID
kind: BomLineKind
quantity: String!
scrapPercent: String
sortOrder: Int!
uomId: ID
}
Fields
BomLineInput.alternateProductIds ● [ID!] list scalar
Approved substitute products, never the line's own product. Omitted means none.
BomLineInput.componentProductId ● ID! non-null scalar
The product the line brings in.
BomLineInput.drawingRef ● String scalar
A drawing reference.
BomLineInput.findNumber ● String scalar
The find number on the drawing.
BomLineInput.id ● ID scalar
The line to change; leave empty to add a new line.
BomLineInput.kind ● BomLineKind enum
Component (the default) or service.
BomLineInput.quantity ● String! non-null scalar
Quantity per one assembly: a decimal string above zero, up to 12 digits and 6 decimals.
BomLineInput.scrapPercent ● String scalar
Scrap allowance in percent: at least 0 and below 100, up to 4 decimals. Default 0.
BomLineInput.sortOrder ● Int! non-null scalar
Display order within the version.
BomLineInput.uomId ● ID scalar
The line's unit of measure.
Member Of
SaveBomLinesInput input