Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

job_bom_subst

  • Last UpdatedNov 20, 2024
  • 3 minute read

The job_bom_subst table provides the ability to override the substitutions for the operation BOM for specific job instances.

Data in this table is created from the bom_item_subst and bom_item_oper_link tables when a work order is created from a process.

Field

Datatype

PK

Nulls?

Description

wo_id

string40

Y

N

Identify work order

oper_id

string40

Y

N

Identify operation

seq_no

int32

Y

N

Identify row in job table

bom_pos

int32

Y

N

BOM position

alt_no

int32

Y

N

Which alternative this is for a given BOM_pos

pref

int32

N

N

Starts at 1; lower-numbered alternatives are preferable to higher-numbered ones.

subst_level

int32

N

N

Substitution level a user must have in order to use this substitute; default =0 (anyone may use it)

item_id

string40

N

N

ID of substitute 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

qty_per_parent_item

tfloat

N

N

Nominal qty of item required per unit of parent item

max_qty_per_parent_item

tfloat

N

Y

Specifies the maximum acceptable quantity of this BOM component..

min_qty_per_parent_item

tfloat

N

Y

Specifies the minimum acceptable quantity of this BOM component.

reqd_start_val

tfloat

N

N

Amount of this component (or of input quantity of item itself if bom_pos = 0) before job becomes READY. (Default = 0)

reqd_start_val_is_pct

logical

N

N

Yes if above amount is percent, No if absolute quantity. Default = Yes as it usually originates from bom_item_oper_link table.

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 item reason code. If null will default to value specified for entity on which the job is run.

def_lot_no

string40

N

Y

Default lot from which to consume

def_sublot_no

string40

N

Y

Default sublot from which to consume

def_storage_ent_id

int32

N

Y

Default storage entity to get item (put byproduct)

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. Default = 1

must_consume_from_inv

logical

N

N

Must consumption occur from inventory or not for this item? Default = No.

may_choose_alt_inv_loc

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? Default = Yes.

must_consume_from_wip

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_before_
prod

logical

N

N

To specify whether to prevent any production transactions until ‘acceptable’ quantities of BOM components have been consumed. ‘Acceptable’ quantities or tolerances of each BOM component are 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 hours it ought to take to consume or produce this component, per unit of BOM_pos 0. Null for BOM_pos 0.

spare1

string1000

N

Y

Use defined by language term 4391

spare2

string1000

N

Y

Use defined by language term 4392

spare3

string1000

N

Y

Use defined by language term 4393

spare4

string1000

N

Y

Use defined by language term 4394

last_edit_comment

string254

N

Y

Reserved for internal use to indicate why this record was changed

last_edit_by

string40

N

N

Who last changed this record

last_edit_at

tdatetime

N

N

When this record was last changed

row_id

ID 1

N

N

Unique row identifier, for audit trail

wo_id, oper_id, seq_no, bom_pos, item_id is UK.

FK from wo_id, oper_id, seq_no, bom_pos to job_bom. (Cascade delete)

FK from item_id to item. (Cascade delete implemented by SP)

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)

TitleResults for “How to create a CRG?”Also Available in