shift_pattern_ent_link
- Last UpdatedNov 12, 2024
- 1 minute read
The shift_pattern_ent_link table links shift patterns to the entities to which they apply.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
shift_sched_ent_id |
int32 |
Y |
N |
The ID of the entity to which the shift pattern is directly assigned. The entity must have the capability to schedule shifts. |
|
ent_id |
int32 |
Y |
N |
The ID of an entity to which the shift pattern is linked, either directly or through inheritance from the parent entity specified in shift_sched_ent_id. |
|
pattern_id |
int32 |
Y |
N |
The ID of the shift pattern. |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed. |
|
last_edit_by |
string40 |
N |
Y |
The user who added or last changed this record. |
|
last_edit_at |
tdatetime |
N |
N |
When this record was added or last changed. |
|
row_id |
int32 |
N |
N |
Unique row identifier. |
FK from shift_sched_ent_id to ent (Cascade delete)
FK from ent_id to ent (Set Null, to prevent circular references)
FK from pattern_id to shift_pattern (Cascade delete)