SVC_OMNI_EVENTS

Table to hold OmniChannel events

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_OMNI_EVENTS_PK

EVENT_ID

Columns

Name Datatype Length Precision Not-null Comments
EVENT_ID NUMBER 18 Yes Primary key populated from a sequence.
START_TIME TIMESTAMP Yes Time this event occurred, or when it started.
START_DATE_TRUNC DATE Yes A representation of the start time truncated to the day.
START_TIME_HH24MI NUMBER 4 Yes A representation of the start time via to_number('hh24mi').
END_TIME TIMESTAMP The time that this event ended.
END_DATE_TRUNC DATE A representation of the end time truncated to the day.
END_TIME_HH24MI NUMBER 4 A representation of the end time via to_number('HH24MI').
DURATION_MS NUMBER 18 Difference between end time and start time in milliseconds.
SUBMIT_TIME TIMESTAMP The time that the underlying work object was submitted.
SUBMIT_DATE_TRUNC DATE The date the underlying work object was submitted, truncated to the day.
EVENT_NAME_CD VARCHAR2 30 Yes Lookup code that indicates the name of the event.
VALUE VARCHAR2 128 A value associated with the event. The meaning of the value is event specific.
RESOURCE_PARTY_ID NUMBER 18 ID of agent in HZ_PARTIES.PARTY_ID.
CONTACT_PARTY_ID NUMBER 18 Identifier for the customer contact, from HZ_PARTIES.PARTY_ID.
INTERACTION_ID NUMBER 18 ID of interaction associated with this event.
CHANNEL_TYPE_CD VARCHAR2 30 Lookup code that identifies the channel type.
CHANNEL_ID NUMBER 18 ID that identifies the channel associated with this event.
QUEUE_ID NUMBER 18 ID of the queue associated with this event.
OBJECT_TYPE_CD VARCHAR2 30 The object type associated with this event
OBJECT_ID VARCHAR2 64 Business Object ID associated with this event
WORK_OBJECT_ID NUMBER 18 The Id of the Work Object in the SVC_WORK_OBJECTS table related to this event.
PRIORITY NUMBER The priority of the Work Object Id associated with this event.
BU_ORG_ID NUMBER 18 Reserved for future use. Identifies the Business Unit Org Id associated with this event.
STRIPE_CD VARCHAR2 30 Lookup code that indicates the stripe code, such as CRM, HCM, or PRM.
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_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of 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.
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_OMNI_EVENTS svc_channels_b CHANNEL_ID
SVC_OMNI_EVENTS hz_parties RESOURCE_PARTY_ID
SVC_OMNI_EVENTS svc_queues QUEUE_ID
SVC_OMNI_EVENTS svc_interactions INTERACTION_ID
SVC_OMNI_EVENTS hz_parties CONTACT_PARTY_ID

Indexes

Index Uniqueness Tablespace Columns Status
SVC_OMNI_EVENTS_F1 Non Unique Default RESOURCE_PARTY_ID Obsolete
SVC_OMNI_EVENTS_F2 Non Unique Default INTERACTION_ID
SVC_OMNI_EVENTS_F3 Non Unique Default CHANNEL_ID
SVC_OMNI_EVENTS_F4 Non Unique Default QUEUE_ID, END_TIME, EVENT_NAME_CD
SVC_OMNI_EVENTS_F5 Non Unique Default CONTACT_PARTY_ID
SVC_OMNI_EVENTS_N1 Non Unique Default EVENT_NAME_CD, END_TIME, START_TIME
SVC_OMNI_EVENTS_N10 Non Unique Default OBJECT_ID
SVC_OMNI_EVENTS_N11 Non Unique Default RESOURCE_PARTY_ID, EVENT_NAME_CD, CHANNEL_TYPE_CD, VALUE
SVC_OMNI_EVENTS_N12 Non Unique Default LAST_UPDATE_DATE
SVC_OMNI_EVENTS_N2 Non Unique Default CHANNEL_TYPE_CD, EVENT_NAME_CD, CHANNEL_ID
SVC_OMNI_EVENTS_N3 Non Unique Default WORK_OBJECT_ID, EVENT_NAME_CD
SVC_OMNI_EVENTS_N4 Non Unique Default EVENT_NAME_CD, RESOURCE_PARTY_ID, START_TIME
SVC_OMNI_EVENTS_N5 Non Unique Default START_DATE_TRUNC
SVC_OMNI_EVENTS_N6 Non Unique Default END_DATE_TRUNC
SVC_OMNI_EVENTS_N7 Non Unique Default QUEUE_ID, EVENT_NAME_CD, START_TIME
SVC_OMNI_EVENTS_N8 Non Unique Default SUBMIT_DATE_TRUNC
SVC_OMNI_EVENTS_N9 Non Unique Default EVENT_NAME_CD, CONTACT_PARTY_ID, START_TIME
SVC_OMNI_EVENTS_U1 Unique Default EVENT_ID