Skip to main content
inputCreateBillOfMaterialsCommandRequestInput

Fields

name
String!
required

The name of the bill of materials. Must not consist of white space only.

description
String

The description of the bill of materials. When omitted or when it consists of white space only, the bill of materials has no description.

componentPostingsShelfLifeEndDateRequirements

Requirements for the production input of all components of this bill of materials regarding the shelf life end dates of the stock accounts to be debited. This requirement can be overridden for individual items. When omitted, None is used. Must not be set to a value other than None if no item of the bill of materials has stock keeping with shelf life end date configured.

componentPostingsBatchNumberRequirements

Requirements for the production input of all components of this bill of materials regarding the batch numbers of the stock accounts to be debited. This requirement can be overridden for individual items. When omitted, None is used. Must not be set to a value other than None if no item of the bill of materials has stock keeping with batch number configured.

shelfLifeEndDateGenerationMode

Indicates how the shelf life end date of the produced item is calculated after completing a lot. When omitted, no shelf life end date is calculated.

additionalShelfLifeEndDateTime
TimeSpan

A time span that is added when calculating the shelf life end date of the produced item after completing a lot. Required when ShelfLifeEndDateGenerationMode is ProductionDate; optional when it is Earliest or Latest; ignored when it is omitted.

How far the actually used quantity of the items may exceed their planned quantity. This configuration can be overridden for individual items. When omitted, it must not exceed it.

downwardQuantityDeviation

How far the actually used quantity of the items may fall below their planned quantity. This configuration can be overridden for individual items. When omitted, it must not fall below it.

productionItemId
ID!
required

The ID of the production item that is produced with the new bill of materials.

The parent components (operations) of the new bill of materials, each optionally with its child components. Their order in the list becomes their order within the bill of materials. At least one parent component is required, and across all parent components at least one item must be present.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.