SVC_FS_ACCESS_SCHEDULES

This table is used to define access schedules which are hours for each day of the week technicians are allowed to be on a customer site and dates a technician is not allowed to be on a customer site. The hours for an access schedule is defined in the SVC_FS_ACC_SCHED_HOURS table and the dates are defined in the SVC_FS_ACC_SCHED_OFFDAYS. ACC_SCHEDULE_ID is the primary / unique key in this table.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

SVC_FS_ACCESS_SCHEDULES_PK

ACC_SCHEDULE_ID

Columns

Name Datatype Length Precision Not-null Comments
ACC_SCHEDULE_ID NUMBER 18 Yes Auto-generated number and primary key for this table.
PRIMARY_FLAG VARCHAR2 1 Yes Indicates this is the primary schedule for the combination of account, country, and region.
ACC_SCHEDULE_NUMBER VARCHAR2 30 Yes Public unique identifier for access schedule.
NAME VARCHAR2 50 Yes The name of this access schedule.
DESCRIPTION VARCHAR2 200 The description of this access schedule.
COUNTRY_CD VARCHAR2 2 Specific country where this access schedule will be used.
REGION VARCHAR2 60 Specific country region where this access schedule will be used.
ACCOUNT_PARTY_ID NUMBER 18 Foreign key referencing HZ_PARTIES (PARTY_ID), the Account for this access schedule.
ACTIVE_FLAG VARCHAR2 1 Yes Property used to identify if a specific access schedule is 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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
svc_fs_acc_sched_offdays svc_fs_access_schedules ACC_SCHEDULE_ID
svc_fs_acc_sched_hours svc_fs_access_schedules SCHED_HOURS_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_FS_ACCESS_SCHEDULES_PK Unique Default ACC_SCHEDULE_ID, ORA_SEED_SET1
SVC_FS_ACCESS_SCHEDULES_PK1 Unique Default ACC_SCHEDULE_ID, ORA_SEED_SET2
SVC_FS_ACCESS_SCHEDULES_U1 Unique Default ACCOUNT_PARTY_ID, COUNTRY_CD, REGION, PRIMARY_FLAG, ORA_SEED_SET1
SVC_FS_ACCESS_SCHEDULES_U11 Unique Default ACCOUNT_PARTY_ID, COUNTRY_CD, REGION, PRIMARY_FLAG, ORA_SEED_SET2
SVC_FS_ACCESS_SCHEDULES_U2 Unique Default ACC_SCHEDULE_NUMBER, ORA_SEED_SET1
SVC_FS_ACCESS_SCHEDULES_U21 Unique Default ACC_SCHEDULE_NUMBER, ORA_SEED_SET2