job_attr
- Last UpdatedNov 12, 2024
- 1 minute read
The job_attr table allows user defined attributes to be defined for each job.
The attr_id must already be defined in the attr table with attr_grp = 5.
|
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 (use for different lots, entities, items, etc.) |
|
attr_id |
int32 |
Y |
N |
Identify 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 |
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 |
bigint64 |
N |
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)