labor_reas_link
- Last UpdatedNov 20, 2024
- 1 minute read
The labor_reas_link table defines the labor codes to which an entity may be restricted. If it is receiving a code from the I/O system (e.g., through a UCO), it might also be further limited to a subset of these.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
ent_id |
int32 |
Y |
N |
Identify entity |
|
raw_reas_cd |
string40 |
Y |
N |
Code from I/O. Often the machine reason code also determines the labor category, e.g., machine setup. -1 if not monitored from I/O, but entered manually. |
|
lab_cd |
string40 |
Y |
N |
Possible final labor category |
|
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 |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail. |
FK from ent_id to labor_exec. (Cascade delete)
FK from lab_cd to labor_cat. (Cascade delete)