Skip to main content

BomVersion

One numbered version of an assembly's bill of materials. Only a DRAFT can be changed; RELEASED and OBSOLETE versions are fixed.

type BomVersion {
assemblyProductId: ID!
createdAt: DateTime!
id: ID!
note: String
obsoletedAt: DateTime
releasedAt: DateTime
status: BomVersionStatus!
updatedAt: DateTime!
version: Int!
versionNo: Int!
}

Fields​

BomVersion.assemblyProductId ● ID! non-null scalar​

The assembly product this BOM builds.

BomVersion.createdAt ● DateTime! non-null scalar​

When the version was created.

BomVersion.id ● ID! non-null scalar​

The version's id.

BomVersion.note ● String scalar​

A note on the version. Null when not given.

BomVersion.obsoletedAt ● DateTime scalar​

When the version became obsolete. Null until then.

BomVersion.releasedAt ● DateTime scalar​

When the version was released. Null until then.

BomVersion.status ● BomVersionStatus! non-null enum​

The version's state.

BomVersion.updatedAt ● DateTime! non-null scalar​

When the version last changed.

BomVersion.version ● Int! non-null scalar​

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

BomVersion.versionNo ● Int! non-null scalar​

The version number, counting from 1 per assembly.

Returned By​

bomVersions query