Skip to main content

Production Order Bill of Material

Overview

The ProductionOrderBillOfMaterial entity defines the materials required for producing a unit within a specific production order. Each entry specifies the material, its quantity per unit, and additional details, enabling precise planning and material allocation.

Table Structure

The following table outlines the SQL columns for the production_order_bill_of_materials table, providing a brief description of each, along with sample data where applicable.

ColumnTypeDescriptionExample
idString (ULID)Unique identifier for the entity.01JAP8RJBN-8ZTPXSGY-J9GSDPE1
enabledBooleanIf the entity is enabled or not.true
created_dateDateTimeDate the entity was created.2024-12-31T19:48:44Z
created_byStringPerson who created the entity.TamakiMES
modified_dateDateTimeDate the entity was modified. Value is null upon creation, and gets initially populated upon the first edit.2024-12-31T19:48:44Z
modified_byStringLast person to modify the entity. Value is null upon creation, and gets initially populated upon the first edit.TamakiMES
notesStringNotes about the entity.This entity has these extra notes
spare1StringThe first spare column that can be used for additional context on the entity.some extra context 1
spare2StringThe second spare column that can be used for additional context on the entity.some extra context 2
spare3StringThe third spare column that can be used for additional context on the entity.some extra context 3
material_groupStringGroup categorizing similar materials, supporting organized tracking.Raw Materials
material_typeString (Enum)Type of material, as defined by the MaterialType enum.PRODUCT
positionIntegerPosition or order of the material within the production order’s materials list.1
quantity_orderDoubleTotal quantity required for the entire production order.500.0
quantity_per_produced_unitDoubleQuantity of the material per unit produced.10.5
material_idString (ULID)References the Material that is the input material required for production. See materials.01G8V9S9B9-3QWXS4VC
product_material_idString (ULID)References the Material product that this bill of materials is used for. See materials.01G8V9S9B9-4YJXS9W8
production_order_idString (ULID)References the ProductionOrder, linking to the associated production order. See production_orders.01FZ8P9BJN-4VYZUKE1
unit_of_measure_idString (ULID)References the unit of measure for quantity. See unit_of_measure.01JAP8R5RT-3FPXQABY-7KQZT6VF

Field Details

material_group

The material_group field categorizes similar materials and supports organized tracking.

material_type

Represents the type of material, as defined by the MaterialType enum, with options such as COMPONENT, PRODUCT, and BYPRODUCT.

position

Represents the position of this bill of materials within the production order's materials list.

quantity_order

Represents the quantity of the material used for the entire production order.

quantity_per_produced_unit

Represents the quantity of the material used per unit produced of the product.

material_id

References the Material entity associated with the input material required for production. See materials for details.

product_material_id

References the Material entity associated with the product material that this bill of materials supports. See materials for details.

production_order_id

References the ProductionOrder entity associated with the bill of materials, providing us information on See production_orders for details.

unit_of_measure_id

References the unit of measure applicable to this material, such as kilograms or liters, supporting precise tracking of quantities. See unit_of_measure for details.