lot_attr_default
- Last UpdatedNov 20, 2024
- 1 minute read
The lot_attr_default table allows attribute defaults to be defined for the lots produced by a job.
The attr_id must already be defined in the attr table with attr_grp = 3.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
wo_id |
string40 |
N |
Y |
Work order ID of job for which default applies |
|
oper_id |
string40 |
N |
Y |
Operation ID of job for which default applies |
|
seq_no |
int32 |
N |
Y |
Sequence number of job for which default applies |
|
item_id |
string40 |
N |
Y |
Produced item for which default applies |
|
attr_id |
int32 |
N |
N |
Identify lot attribute |
|
attr_value |
string1700 |
N |
Y |
Value for this combination |
|
notes |
nvarchar(max) |
N |
Y |
Notes for this combination |
|
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 |
Y |
N |
Unique row identifier, for audit trail |
FK from wo_id, oper_id, seq_no to job. (Cascade delete)
FK from attr_id to attr. (Cascade delete)