Skip to main content
inputCreateBillOfMaterialsInput

Fields

name
String!
required

The name of the bill of materials.

description
String

An optional description of the bill of materials.

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 components. Optional; defaults to None. Must not be set to a value other than None if no component's underlying item has a shelf life end date configured.

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 components. Optional; defaults to None. Must not be set to a value other than None if no component's underlying item has a batch number configured.

shelfLifeEndDateGenerationMode

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

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 ShelfLifeEndDateGenerationMode is Earliest or Latest; is ignored when ShelfLifeEndDateGenerationMode is not specified.

The operations of this bill of materials. At least one operation is required, and across all operations at least one item must be present.