SVC_BI_XCHNL_INT_AGG

Table aggregating interaction data for Cross Channel Interactions, for BI reporting.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_BI_XCHNL_INT_AGG_PK

XCHNL_INT_AGG_ID

Columns

Name Datatype Length Precision Not-null Comments
XCHNL_INT_AGG_ID NUMBER 18 Yes Surrogate key, populated by sequence.
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 for the creation date of the latest interaction having a parent interaction id of the given set of parent interaction records . Refers to ZCA_BI_CRM_CALENDAR.CAL_WEEK.
CAL_MONTH NUMBER 18 Month id for the creation date of the latest interaction having a parent interaction id of the given set of parent interaction records. Refers to ZCA_BI_CRM_CALENDAR.CAL_MONTH.
PARENT_AGENT_ID NUMBER 18 Foreign key to HZ_PARTIES. Represents the agent of the parent interaction
PARENT_CHANNEL_ID NUMBER 18 Foreign key to SVC_CHANNELS. Represents the channel of the parent interaction.
STRIPE_CD VARCHAR2 30 Application stripe code. Used to differentiate between applications.
PARENT_INTERACTION_ID NUMBER 18 Yes Parent Interaction Id for the interactions data to be loaded.
PARENT_CREATION_DATE TIMESTAMP Creation Date of parent Interaction
CNT_INTERACTIONS NUMBER Count of interactions for the parent interaction
CNT_AGENT_CHANGED NUMBER Number of times the agent got changed
CNT_CHNL_CHANGED NUMBER Number of times real-time channel got changed.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_BI_XCHNL_INT_AGG svc_channels_b PARENT_CHANNEL_ID
SVC_BI_XCHNL_INT_AGG hz_parties PARENT_AGENT_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_BI_XCHNL_INT_AGG_F1 Non Unique Default PARENT_AGENT_ID
SVC_BI_XCHNL_INT_AGG_F2 Non Unique Default PARENT_CHANNEL_ID
SVC_BI_XCHNL_INT_AGG_N1 Non Unique Default CAL_WEEK
SVC_BI_XCHNL_INT_AGG_N2 Non Unique Default CAL_MONTH
SVC_BI_XCHNL_INT_AGG_N3 Non Unique Default STRIPE_CD
SVC_BI_XCHNL_INT_AGG_N4 Non Unique Default PARENT_CREATION_DATE
SVC_BI_XCHNL_INT_AGG_PK Unique Default XCHNL_INT_AGG_ID
SVC_BI_XCHNL_INT_AGG_U1 Unique Default PARENT_INTERACTION_ID