Skip to main content

BomVersionWithLines

A bill-of-materials version with its live lines.

type BomVersionWithLines {
assemblyProductId: ID!
createdAt: DateTime!
id: ID!
lines: [BomLine!]!
note: String
obsoletedAt: DateTime
releasedAt: DateTime
status: BomVersionStatus!
updatedAt: DateTime!
version: Int!
versionNo: Int!
}

Fields​

BomVersionWithLines.assemblyProductId ● ID! non-null scalar​

The assembly product this BOM builds.

BomVersionWithLines.createdAt ● DateTime! non-null scalar​

When the version was created.

BomVersionWithLines.id ● ID! non-null scalar​

The version's id.

BomVersionWithLines.lines ● [BomLine!]! non-null object​

The live lines, ordered by sortOrder then id.

BomVersionWithLines.note ● String scalar​

A note on the version. Null when not given.

BomVersionWithLines.obsoletedAt ● DateTime scalar​

When the version became obsolete. Null until then.

BomVersionWithLines.releasedAt ● DateTime scalar​

When the version was released. Null until then.

BomVersionWithLines.status ● BomVersionStatus! non-null enum​

The version's state.

BomVersionWithLines.updatedAt ● DateTime! non-null scalar​

When the version last changed.

BomVersionWithLines.version ● Int! non-null scalar​

The edit counter. Send it back as expectedVersion on the next save; a stale one is refused.

BomVersionWithLines.versionNo ● Int! non-null scalar​

The version number, counting from 1 per assembly.

Returned By​

bomVersion query ● createBomDraft mutation ● saveBomLines mutation