bom_item
- Last UpdatedNov 20, 2024
- 3 minute read
The bom_item table shows the required quantity of each component item required to complete a single unit of the parent item.
The reqd_grade_cd field allows the user to optionally specify whether the BOM item needs to confirm to a specific grade or not (default = null, i.e., no requirement). This could help determine which items to consume from a WIP location. Also may be used in future to verify that the actual BOM item consumed matches this grade.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
parent_item_id |
string40 |
Y |
N |
Identify item being made |
|
ver_id |
string40 |
Y |
N |
Version of BOM |
|
bom_pos |
int32 |
Y |
N |
BOM position – usually sequential. <0 for byproducts, =0 for item being produced, in which case the item_id is the same as the parent_item_id |
|
item_id |
string40 |
N |
N |
ID of item being produced or consumed |
|
reqd_grade_cd |
int32 |
N |
Y |
NULL=disabled, else specifies req’d grade code for BOM item |
|
instruction |
string1700 |
N |
Y |
Optional instruction on how to consume/produce this item |
|
qty_per_parent_item |
tfloat |
N |
N |
Nominal qty of item required per unit of immediate parent item |
|
max_qty_per_ |
tfloat |
N |
Y |
Specifies the maximum acceptable quantity of this BOM component. |
|
min_qty_per_ |
tfloat |
N |
Y |
Specifies the minimum acceptable quantity of this BOM component |
|
update_inv |
logical |
N |
N |
Update inventory table with item consumption? Default = No |
|
backflush |
logical |
N |
N |
Backflush consumption? Default = No. |
|
def_reas_cd |
int32 |
N |
Y |
Default consumption or production code for item. If null will default to value specified for entity on which the job is run. |
|
def_lot_no |
string40 |
N |
Y |
Default lot number from which to consume. If null will default to the lot specified for the entity on which the job is run. |
|
def_sublot_no |
string40 |
N |
Y |
Default sublot number from which to consume. If null will default to the sublot specified for the entity on which the job is run. |
|
def_storage_ent_id |
int32 |
N |
Y |
Default storage entity to get component or put (by)product. If null will default to the default storage entity for the entity on which the job is run (def_to_ent_id or def_from_ent_id depending on BOM_pos). |
|
def_reject_ent_id |
int32 |
N |
Y |
Default storage entity for reject production items; if null use def_storage_ent_id |
|
scaling_factor |
tfloat |
N |
Y |
Scaling factor to get correct units from counts if counts are item dependent |
|
must_consume_ |
logical |
N |
N |
Must consumption occur from inventory or not for this item? Default = No. |
|
may_choose_alt_ |
logical |
N |
N |
May the user select alternate inventory locations when consuming or producing this item? Default = Yes. |
|
may_create_new_lots |
logical |
N |
N |
May the user create new lots when consuming or producing this item? Only relevant if not consuming from inventory. Default = Yes. |
|
must_consume_ |
logical |
N |
N |
Specifies whether the lots consumed during a job must be limited to those lots produced to the item_inv table for the same wo_id in an upstream job. Default = No. |
|
must_consume_ |
logical |
N |
N |
To specify whether to prevent any production transactions until ‘acceptable’ quantities of BOM components have been consumed – as specified by the ‘max_qty_per_parent_item’ and ‘min_qty_per_parent_item’ fields (if not null). Default = No. |
|
constant_qty |
logical |
N |
N |
To specify whether the quantities consumed of this item are independent of qty of parent item produced. Default = No. |
|
est_time |
tfloat |
N |
Y |
Number of entity hours it ought to take to consume or produce this component, per unit of BOM_pos 0. Null for BOM_pos 0. |
|
serial_no_source |
logical |
N |
N |
Yes if the produced it is to inherit its serial number from this component; default No. |
|
spare1 |
string1000 |
N |
Y |
Use defined by language term 529 |
|
spare2 |
string1000 |
N |
Y |
Use defined by language term 530 |
|
spare3 |
string1000 |
N |
Y |
Use defined by language term 531 |
|
spare4 |
string1000 |
N |
Y |
Use defined by language term 532 |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed |
|
last_edit_by |
string40 |
N |
Y |
Who last changed this record |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
mod_id |
timestamp |
N |
N |
A binary number that increments each time the row is modified. |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail. |
FK from parent_item_id, ver_id to bom_ver. (Cascade delete)
FK from item_id to item. (Inhibit delete)
FK from reqd_grade_cd to item_grade. (Set null)
FK from def_reas_cd to item_reas. (Inhibit delete)
FK from def_storage_ent_id to storage_exec. (Set null)
FK from def_reject_ent_id to storage_exec. (Set null)