SVC_FS_ACC_SCHED_HOURS
This table is used to store access schedule hours which are hours for each day of the week technicians are allowed to be on a customer site. This table and the SVC_FS_ACC_SCHED_OFFDAYS make up the access schedule defined in the SVC_FS_ACCESS_SCHEDULES table. SCHED_HOURS_ID is the primary / unique key in this table.
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
SVC_FS_ACC_SCHED_HOURS_PK |
SCHED_HOURS_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
SCHED_HOURS_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
ACC_SCHEDULE_ID | NUMBER | 18 | Yes | Foreign key referencing SVC_FS_ACCESS_SCHEDULES (ACC_SCHEDULE_ID), the Access Schedule for these access hours. | |
DAY_OF_WEEK_CD | VARCHAR2 | 30 | Yes | The day of the week the technician is allowed to be on the customer site for the working day. | |
START_HOUR_SLOT_1 | VARCHAR2 | 10 | Yes | The start hour for the primary access hours the technician is allowed to be on the customer site for the working day. | |
END_HOUR_SLOT_1 | VARCHAR2 | 10 | Yes | The end hour for the primary access hours the technician is allowed to be on the customer site for the working day. | |
START_HOUR_SLOT_2 | VARCHAR2 | 10 | The start hour for the additional access hours the technician is allowed to be on the customer site for the working day. | ||
END_HOUR_SLOT_2 | VARCHAR2 | 10 | The end hour for the additional access hours the technician is allowed to be on the customer site for the working day. | ||
OVERRIDE_CD | VARCHAR2 | 30 | Lookup code that indicates the override type for these access hours, such as Add or Remove. | ||
OVERRIDE_SERVICE_PROFILE_ID | NUMBER | 18 | Foreign key referencing SVC_SERVICE_PROFILES (SERVICE_PROFILE_ID), the service profile access hours that are overridden. | ||
OVERRIDE_WO_ID | NUMBER | 18 | Foreign key referencing SVC_WORK_ORDERS (WO_ID), the Work Order that overrides the access hours for the combination of account, country and region. | ||
COMMENTS | VARCHAR2 | 250 | Comments about the access schedule hours. | ||
ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Property used to identify if specific access schedule hours are active. | |
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_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to 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. | ||
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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
SVC_FS_ACC_SCHED_HOURS | svc_fs_access_schedules | SCHED_HOURS_ID |
SVC_FS_ACC_SCHED_HOURS | svc_service_profiles | OVERRIDE_SERVICE_PROFILE_ID |
SVC_FS_ACC_SCHED_HOURS | svc_work_orders | OVERRIDE_WO_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_FS_ACC_SCHED_HOURS_PK | Unique | Default | SCHED_HOURS_ID |
SVC_FS_ACC_SCHED_HOURS_U1 | Unique | Default | ACC_SCHEDULE_ID, OVERRIDE_SERVICE_PROFILE_ID, OVERRIDE_WO_ID, DAY_OF_WEEK_CD |