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

item_subst

  • Last UpdatedNov 20, 2024
  • 3 minute read

The item_subst table shows the items which may be generally substituted for another item. Each alternative is assigned a unique alt_no, and they are ordered by pref(erence).

Field

Datatype

PK

Nulls?

Description

orig_item_id

string40

Y

N

Identify item being substituted for

alt_no

int32

Y

N

Which alternative this is

pref

int32

N

N

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

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 on how to consume this item

qty_per_parent_item

tfloat

N

N

Nominal qty of item required per unit of immediate parent item

max_qty_per_
parent_item

tfloat

N

Y

Maximum acceptable quantity of this BOM component.

min_qty_per_
parent_item

tfloat

N

Y

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. 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? Only relevant if not consuming from inventory. 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 – 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 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 4383

spare2

string1000

N

Y

Use defined by language term 4384

spare3

string1000

N

Y

Use defined by language term 4385

spare4

string1000

N

Y

Use defined by language term 4386

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

orig_item_id, item_id is UK.

FK from orig_item_id to item. (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