Skip to main content
inputCreateBillOfMaterialsItemInput

Fields

itemId
ID!
required

The ID of the item to be used as a bill of materials item.

quantity
Decimal!
required

The required quantity of this component for the production of the production item. Must be greater than zero.

measurementUnitId
ID

The ID of the measurement unit in which the quantity is managed, or NULL to use the sales unit of the underlying item.

componentPostingsShelfLifeEndDateRequirements

Requirements for the production input of this component regarding the shelf life end dates of the stock accounts to be debited. Overrides the corresponding setting on the bill of materials level for this component. Optional; defaults to Inherited, which applies the requirement specified at the bill of materials level. Must not be set to a value other than Inherited if the underlying item does not have a shelf life end date configured.

componentPostingsBatchNumberRequirements

Requirements for the production input of this component regarding the batch numbers of the stock accounts to be debited. Overrides the corresponding setting on the bill of materials level for this component. Optional; defaults to Inherited, which applies the requirement specified at the bill of materials level. Must not be set to a value other than Inherited if the underlying item does not have a batch number configured.