shift
- Last UpdatedNov 12, 2024
- 1 minute read
The shift table defines standard shift IDs and descriptions. It includes the ability to define a description for the null shift (always shift_id = 0). The record for shift_id 0 exists only to allow the user to describe the null shift. Records are not deleted when their shift is; the description is merely nulled. Data capture tables use the shift ID and start datetime to report on data to the granularity of a shift.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
shift_id |
int32 |
Y |
N |
Unique shift identifier; 0 reserved for "Null" shift (i.e., time not in a shift) |
|
shift_desc |
string80 |
N |
Y |
Shift description, null if shift deleted |
|
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 |