CreateBillOfMaterialsCommandRequestInput
Creates a bill of materials for a production item together with its components. The new bill of materials is a draft. Errors: the request is invalid; ProductionItemNotFound (the production item was not found); BillOfMaterialsRequiresOperation (no parent component was sent); BillOfMaterialsRequiresItem (no item was sent across all parent components); a referenced operation, item, measurement unit, operation step or configuration group was not found. - Request
CreateBillOfMaterialsCommandRequestInputFields
The name of the bill of materials. Must not consist of white space only.
The description of the bill of materials. When omitted or when it consists of white space only, the bill of materials has no description.
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.
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.
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.
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.
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.
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.
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.
Was this page helpful?