HTS_CORE_WORK_SHIFTS
Table to store the default shifts of employees.
Details
-
Schema: FUSION
-
Object owner: HTS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
HTS_CORE_WORK_SHIFTS_PK |
CORE_WORK_SHIFT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CORE_WORK_SHIFT_ID | NUMBER | 18 | Yes | Primary Key. System generated unique identifier for a core Work Shift. | |
| PERSON_ID | NUMBER | 18 | Yes | Identifier of the person to which shift is assigned to. | |
| ASSIGNMENT_ID | NUMBER | 18 | Yes | Identifier of the assignment of the person to which shift is assigned to. | |
| REF_DATE | DATE | Yes | Reference or actual date of the shift. | ||
| IS_ELAPSED | VARCHAR2 | 1 | Indicates whether the shift is based on elapsed duration or not. | ||
| START_DATE_TIME | TIMESTAMP | Yes | Start date time of the shift. | ||
| END_DATE_TIME | TIMESTAMP | End date time of the shift. | |||
| START_TIME_TZ_OFFSET | NUMBER | 3 | Timezone offset for the shift start time, measured in minutes. | ||
| END_TIME_TZ_OFFSET | NUMBER | 3 | Timezone offset for the shift end time, measured in minutes. | ||
| WORK_DURATION | NUMBER | 9 | Yes | Duration of the work in minutes. | |
| UNPAID_BREAK_DURATION | NUMBER | 9 | UnPaid break duration of the shift in minutes. | ||
| PAID_BREAK_DURATION | NUMBER | 9 | Paid break duration of the shift in minutes. | ||
| SHIFT_CATEGORY | VARCHAR2 | 30 | Indicates the category of the shift. | ||
| LAYER_CODE | VARCHAR2 | 30 | Layer code that indicates whether the shift is based on the baseline or updated due to an exception. | ||
| SHIFT_ORIGIN_CATEGORY | VARCHAR2 | 30 | Consolidated Shift Origin Category. | ||
| SHIFT_ORIGIN_CODE | VARCHAR2 | 30 | OriginCode of the Shift. | ||
| SHIFT_ORIGIN_ID | NUMBER | 18 | Identifier of the element the shift originates from. | ||
| LIBRARY_SHIFT_ID | NUMBER | 18 | Identifier of the element from the shift library associated with the shift. | ||
| SOURCE | VARCHAR2 | 30 | Source of the shift, indicating whether it was imported or edited via the UI or computed. | ||
| COMMENTS | VARCHAR2 | 4000 | Comment that may be provided as information at creation or when updating the shift. | ||
| GENERATION_REF_DATE | DATE | Date considered as a reference date by the generation process having created the shift. | |||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created 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. | ||
| 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 |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| HTS_CORE_WORK_SHIFTS_N1 | Non Unique | Default | START_DATE_TIME, LAYER_CODE, PERSON_ID |
| HTS_CORE_WORK_SHIFTS_N2 | Non Unique | Default | START_DATE_TIME, LAYER_CODE, ASSIGNMENT_ID |
| HTS_CORE_WORK_SHIFTS_N3 | Non Unique | Default | ASSIGNMENT_ID, LAYER_CODE, GENERATION_REF_DATE |
| HTS_CORE_WORK_SHIFTS_PK | Unique | Default | CORE_WORK_SHIFT_ID |