SVC_FS_TECH_PREFERENCES
This table is used to define the technician preferences for a customer site which identifies if a specific technician is either required, preferred or forbidden from being on a specific customer site. TECHNICIAN_PREF_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_TECH_PREFERENCES_PK |
TECHNICIAN_PREF_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TECHNICIAN_PREF_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
SERVICE_PROFILE_ID | NUMBER | 18 | Foreign key referencing SVC_SERVICE_PROFILES (SERVICE_PROFILE_ID), the Service Profile for this technician preference. | ||
ACCOUNT_PARTY_ID | NUMBER | 18 | Foreign key referencing HZ_PARTIES (PARTY_ID), the Account for this technician preference. | ||
TECHNICIAN_PARTY_ID | NUMBER | 18 | Yes | Foreign key referencing HZ_PARTIES (PARTY_ID), the Technician for this technician preference. | |
TECHNICIAN_PREFERENCE_CD | VARCHAR2 | 30 | Yes | Lookup code that indicates the type of technician preference, such as Preferred, Required or Forbidden. | |
COMMENTS | VARCHAR2 | 250 | Comments about the technician preference. | ||
ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Property used to identify if a specific technician preference 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
SVC_FS_TECH_PREFERENCES | hz_parties | ACCOUNT_PARTY_ID |
SVC_FS_TECH_PREFERENCES | svc_service_profiles | SERVICE_PROFILE_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_FS_TECH_PREFERENCES_N1 | Non Unique | Default | ACCOUNT_PARTY_ID, SERVICE_PROFILE_ID |
SVC_FS_TECH_PREFERENCES_PK | Unique | Default | TECHNICIAN_PREF_ID |
SVC_FS_TECH_PREFERENCES_U1 | Unique | Default | TECHNICIAN_PARTY_ID, ACCOUNT_PARTY_ID, SERVICE_PROFILE_ID |