HTS_SHIFTS_B
Table holding templates for a library shift, shifts can be used to build work patterns.
Details
-
Schema: FUSION
-
Object owner: HTS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
HTS_SHIFTS_B_PK |
SHIFT_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
SHIFT_ID | NUMBER | 18 | Yes | Primary key. Unique system generated identifier for a Shift | |
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
ENTERPRISE_ID | NUMBER | 18 | Yes | ENTERPRISE_ID | |
SHIFT_CODE | VARCHAR2 | 30 | Yes | Unique code entered when creating a shift, in order to help user identify the shift. | |
START_TIME_OFFSET | NUMBER | 9 | Yes | Offset from midnight saved in minutes defining the start time of the shift | |
END_TIME_OFFSET | NUMBER | 9 | Yes | Offset from midnight saved in minutes defining the end time of the shift | |
WORK_DURATION | NUMBER | 9 | Yes | Work duration in minutes of the shift | |
BREAK_DURATION | NUMBER | 9 | Break duration in minutes of the shift | ||
END_PLUS_DAYS | NUMBER | 9 | Yes | Identifies whether the end time offset comes one day after the start time offset (1) or the same day (0) | |
SHIFT_CATEGORY | VARCHAR2 | 30 | A category such as Day or Night that helps classify the Shifts. | ||
ACTIVE_FLAG | VARCHAR2 | 1 | ACTIVE_FLAG | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
HTS_SHIFTS_B_PK | Unique | Default | SHIFT_ID |
HTS_SHIFTS_B_U1 | Unique | Default | SHIFT_CODE |