SVC_INTERACTIONS_AGG

Aggregate table for interaction metrics

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_INTERACTIONS_AGG_PK

INTERACTIONS_AGG_ID

Columns

Name Datatype Length Precision Not-null Comments
INTERACTIONS_AGG_ID NUMBER 18 Yes Surrogate key, populated by sequence SVC_INTERACTIONS_AGG_SEQ.
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.
CAL_WEEK NUMBER 18 Week id. Refers to ZCA_BI_CRM_CALENDAR.CAL_WEEK.
CAL_MONTH NUMBER 18 Month id. Refers to ZCA_BI_CRM_CALENDAR.CAL_MONTH.
AGENT_ID NUMBER 18 Foreign key to HZ_PARTIES. Represents the agent performing the interaction.
CHANNEL_ID NUMBER 18 Foreign key to SVC_CHANNELS. Represents the channel of the interaction.
STRIPE_CD VARCHAR2 30 Application stripe code. Used to differentiate between applications.
INTERACTIONS NUMBER Number of interactions for this week, month, agent and channel..
INTERACTIONS_NO_SR NUMBER Number of interactions not associated to an SR.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_INTERACTIONS_AGG svc_channels_b CHANNEL_ID
SVC_INTERACTIONS_AGG hz_parties AGENT_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_INTERACTIONS_AGG_F1 Non Unique Default AGENT_ID
SVC_INTERACTIONS_AGG_F2 Non Unique Default CHANNEL_ID
SVC_INTERACTIONS_AGG_N2 Non Unique Default CAL_MONTH
SVC_INTERACTIONS_AGG_N3 Non Unique Default STRIPE_CD
SVC_INTERACTIONS_AGG_U1 Unique Default INTERACTIONS_AGG_ID
SVC_INTERACTIONS_AGG_U2 Unique Default CAL_WEEK, CAL_MONTH, AGENT_ID, CHANNEL_ID, STRIPE_CD