labor_dept_ent_link
- Last UpdatedNov 20, 2024
- 1 minute read
The labor_dept_ent_link table defines the labor departments to which an entity may be restricted. If there are no records for a particular entity, all departments may be used, as it is not possible to create a labor_usage record for an entity without a dept_id. Conversely if there are no records for a particular department, it is usable by all entities, as it is not reasonable to define a department that could never be used.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
ent_id |
int32 |
Y |
N |
Identify entity |
|
dept_id |
string40 |
Y |
N |
Possible department |
|
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. |
FK from ent_id to labor_exec. (Cascade delete)
FK from dept_id to labor_dept. (Cascade delete)