SVC_SR_AGG

Aggregate table for interaction metrics.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_SR_AGG_PK

SR_AGG_ID

Columns

Name Datatype Length Precision Not-null Comments
SR_AGG_ID NUMBER 18 Yes Surrogate key, populated by sequence SVC_SR_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_UPDATED_BY VARCHAR2 64 Yes Who column: indicates 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.
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.
SR_ID NUMBER 18 Foreign key to SVC_SERVICE_REQUESTS.
STRIPE_CD VARCHAR2 30 Application stripe code. Used for application striping.
LAST_STATUS_TYPE_CD VARCHAR2 30 Values of the service request's STATUS_TYPE_CD column at the time of the last aggregation.
SR_UPDATE_DATE TIMESTAMP Value of the service request's LAST_UPDATE_DATE column at the time of the last aggregation.
INTERACTION_UPDATE_DATE TIMESTAMP Timestamp of the last update date of the interactions associated to this service request.
MILESTONE_UPDATE_DATE TIMESTAMP Latest update date of milestones associated to this service request at the time of the last aggregation.
RESOLVED_INTERACTIONS NUMBER Number of interactions between the service request's creation date and the service request's SR_LAST_RESOLVED_DATE.
RESOLVED_CHANNEL_ID NUMBER 18 Id of the channel of the last interaction before the service request's SR_LAST_RESOLVED_DATE.
RESOLVED_AGENT_ID NUMBER 18 Id of the agent handling the last interaction before the service request's SR_LAST_RESOLVED_DATE.
CLOSED_INTERACTIONS NUMBER Number of interactions between the service request's creation date and its SR_CLOSE_DATE.
CLOSED_CHANNEL_ID NUMBER 18 Id of the channel of the last interaction before the serivce request's SR_CLOSE_DATE.
CLOSED_AGENT_ID NUMBER 18 Id of the agent handling the last interaction before the service request's SR_CLOSE_DATE.
SR_COMPLIANT_FLAG VARCHAR2 1 A flag that indicates whether the service request is fully compliant or not.
SR_MILESTONE_ASSIGNMENT_FLAG VARCHAR2 1 Yes A flag that indicates whether the service request has milestone or not.
ARTICLE_LINKED_FLAG VARCHAR2 1 A flag that indicates whether or not the service request has one or more knowledge articles associated to it.
ARTICLE_RESOLVED_FLAG VARCHAR2 1 A flag that indicates whether or not the service request is resolved by one or more knowledge articles that are associated with it.
REFERENCE_UPDATE_DATE TIMESTAMP Latest update date of references associated to this service request at the time of the last aggregation.
AFFECTED_PARTY_FLAG VARCHAR2 1 A flag that indicates whether or not the service request has any affected parties associated with it.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_SR_AGG svc_service_requests SR_ID
SVC_SR_AGG svc_channels_b RESOLVED_CHANNEL_ID
SVC_SR_AGG hz_parties RESOLVED_AGENT_ID
SVC_SR_AGG svc_channels_b CLOSED_CHANNEL_ID
SVC_SR_AGG hz_parties CLOSED_AGENT_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_SR_AGG_F1 Non Unique Default RESOLVED_CHANNEL_ID
SVC_SR_AGG_F2 Non Unique Default RESOLVED_AGENT_ID
SVC_SR_AGG_F3 Non Unique Default CLOSED_CHANNEL_ID
SVC_SR_AGG_F4 Non Unique Default CLOSED_AGENT_ID
SVC_SR_AGG_N1 Non Unique Default SR_UPDATE_DATE
SVC_SR_AGG_N2 Non Unique Default LAST_STATUS_TYPE_CD
SVC_SR_AGG_N3 Non Unique Default SR_COMPLIANT_FLAG, SR_MILESTONE_ASSIGNMENT_FLAG
SVC_SR_AGG_N4 Non Unique Default INTERACTION_UPDATE_DATE
SVC_SR_AGG_PK Unique Default SR_AGG_ID
SVC_SR_AGG_U1 Unique Default SR_ID