ECS Dimension Tables

ECSBreakCategoryTypeDimension

Column NameSnowflake TypeDescription
bct_idNUMBER(15,0)Primary key
bct_breakCategoryTypeNameVARCHAR(100)The break category type name
bct_exceedSecondsNUMBER(38,0)Allowed count of exceeded seconds
bct_paid

BOOLEAN

Is Paid
bct_accountIdVARCHAR(16)The account identifier
bct_parentEipIdVARCHAR(16)The parent account identifier



ECSBusinessProcessDimension

Column NameSnowflake TypeDescription
bpd_idNUMBER(15,0)Primary key
bpd_businessProcessNameVARCHAR(100)Business process name
bpd_contactCenterNameVARCHAR(100)Contact center name
bpd_accountIdVARCHAR(16)The account identifier
bpd_parentEipIdVARCHAR(16)The parent account identifier



ECSCampaignDimension

Column NameSnowflake TypeDescription
ecd_idNUMBER(15,0)Primary key
ecd_campaignNameVARCHAR(100)Campaign name
ecd_businessProcessIdNUMBER(15,0)Business process identifier
ecd_businessProcessNameVARCHAR(100)Business process name
ecd_dialerTypeIdNUMBER(15,0)Dialer type identifier
ecd_dialerTypeNameVARCHAR(100)Dialer type name
ecd_accountIdVARCHAR(16)The account identifier
ecd_parentEipIdVARCHAR(16)The parent account identifier



ECSInteractionChannelDimension

Column NameSnowflake TypeDescription
icd_idNUMBER(15,0)Primary key
icd_interactionChannelNameVARCHAR(100)Interaction channel name
icd_contactCenterNameVARCHAR(100)Contact center name
icd_accountIdVARCHAR(16)The account identifier
icd_parentEipIdVARCHAR(16)The parent account identifier



ECSInteractionStateDimension

Column NameSnowflake TypeDescription
isd_idNUMBER(15,0)Primary key
isd_interactionStateNameVARCHAR(100)Interaction state name
isd_outboundStatusNameVARCHAR(100)Outbound status name
isd_statusNameVARCHAR(100)Status name
isd_accountIdVARCHAR(16)The account identifier
isd_parentEipIdVARCHAR(16)The parent account identifier



ECSInteractionTypeDimension

Column NameSnowflake TypeDescription
itd_idNUMBER(15,0)Primary key
itd_interactionTypeNameVARCHAR(100)Interaction type name
itd_directionNameVARCHAR(100)Direction name
itd_mediaNameVARCHAR(100)Media name
itd_purposeVARCHAR(100)Purpose name
itd_accountIdVARCHAR(16)The account identifier
itd_parentEipIdVARCHAR(16)The parent account identifier



ECSUserDimension 

Column NameSnowflake TypeDescription
eud_idNUMBER(15,0)Primary key
eud_ecsUserDisplayNameVARCHAR(100)User display name
eud_accountIdVARCHAR(16)The account identifier
eud_broadsoftUserIdVARCHAR(161)Broadsoft user identifier
eud_parentEipIdVARCHAR(16)The parent account identifier
eud_ecsUserGUIDVARCHAR(36)GUID identifier
eud_isSupervisorBOOLEANIs supervisor
eud_disabledBOOLEANUser disabled or not



ECSOrganizationMapping 

Column NameSnowflake TypeDescription
eom_idNUMBER(38,0)Primary key
eom_organizationNameVARCHAR(150)Organization name
eom_organizationDWDBNameVARCHAR(150)Organization data warehouse database name
eom_organizationIdVARCHAR(36)Organization GUID identifier
eom_accountIdVARCHAR(16)The account identifier
eom_isActiveBOOLEANOrganization is active or not



TimeZoneDimension

Column NameSnowflake TypeDescription
tzd_timeZoneIdNUMBER(38,0)Primary key
tzd_offsetNUMBER(38,0)Time zone offset
tzd_timeZoneNameVARCHAR(150)Time zone name
tzd_displayNameVARCHAR(150)Time zone display name



AreaCodeDimension

Column NameSnowflake TypeDescription
acd_areaCodeIdNUMBER(38,0)Area code
acd_stateVARCHAR(40)State



ECS Fact Tables

ECSAlertFact





Column NameSnowflake TypeDescriptionReferencesComments
alrf_id

NUMBER(38,0)

Primary key


alrf_alertId

NUMBER(38,0)

Identifier of the alert


alrf_agentId

NUMBER(15,0)

Foreign key to the agentECSUserDimension


alrf_alertTypeId

NUMBER(38,0)

Deprecated 
Deprecated field. Replaced by alrf_alertTypeName
alrf_businessProcessId

NUMBER(15,0)

Foreign key to the business processECSBusinessProcessDimension


alrf_counter

NUMBER(38,0)

Deprecated 
Deprecated field. Replaced by alrf_counterTypeName
alrf_counterTypeId

NUMBER(15,0)

Deprecated 
Deprecated field. Replaced by alrf_counterTypeName
alrf_endDateSliceId

NUMBER(38,0)

Foreign key to the alert end date in UTCDateDimension


alrf_endTime

TIMESTAMP_NTZ(9)

Alert end time in UTC


alrf_endTimeSliceId

NUMBER(38,0)

Foreign key to the alert end time of day in UTCTimeOfDayDimension


alrf_eomId

NUMBER(38,0)

Foreign key to the ECS organization ECSOrganizationMapping
alrf_startDateSliceId

NUMBER(38,0)

Foreign key to the alert start date in UTCDateDimension


alrf_startTimeTIMESTAMP_NTZ(9)Alert start time

alrf_startTimeSliceId

NUMBER(38,0)

Foreign key to the alert start time of day in UTCTimeOfDayDimension


alrf_updateDateTimeTIMESTAMP_NTZ(9)Alert last update datetime

alrf_value

NUMBER(38,0)

Alert value

alrf_eipIdVARCHAR(16)The account identifier

alrf_alertTypeNameVARCHAR(100)Alert type name

alrf_counterTypeNameVARCHAR(100)Counter type name

alrf_parentEipIdVARCHAR(16)The account identifier

alrf_startTimestampLocalTIMESTAMP_NTZ(9)Alert start time in local time

alrf_endTimestampLocalTIMESTAMP_NTZ(9)Alert end time in local time

alrf_startDateLocal

NUMBER(38,0)

Foreign key to the alert start date in local timeDateDimension
alrf_startTimeLocal

NUMBER(38,0)

Foreign key to the alert start time of day in local timeTimeOfDayDimension
alrf_endDateLocal

NUMBER(38,0)

Foreign key to the alert end date in local timeDateDimension
alrf_endTimeLocal

NUMBER(38,0)

Foreign key to the alert end time of day in local timeTimeOfDayDimension
alrf_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

alrf_updatedBOOLEANIndicates whether the record was updated






ECSAgentLifeFact

Column NameSnowflake TypeDescriptionReferencesComments
alif_idNUMBER(38,0)Primary key

alif_agentLifeIdNUMBER(38,0)Identifier of agent life

alif_agentIdNUMBER(15,0)Foreign key to the agentECSUserDimension
alif_agentLifeTypeIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by alif_agentLifeTypeName
alif_agentStatusIdNUMBER(15,0)Deprecated
Deprecated field. Replaced by alif_agentStatusName
alif_bpAssignedBOOLEANFlag for a status: was assigned to BP (Business Process)

alif_breakTypeIdNUMBER(15,0)DeprecatedECSBreakTypeDimensionDeprecated field. Replaced by alif_breakTypeName
alif_businessProcessIdNUMBER(15,0)Foreign key to the interaction business processECSBusinessProcessDimension
alif_categoryIdNUMBER(15,0)Foreign key to the break categoryECSBreakCategoryTypeDimension
alif_decidedToApproveBOOLEANDecision solution

alif_efficiencyFLOATEfficiency

alif_endDateSliceIdNUMBER(38,0)Foreign key to the status end date in UTCDateDimension
alif_endTimeTIMESTAMP_NTZ(9)Status end time in UTC

alif_endTimeSliceIdNUMBER(38,0)Foreign key to the status end time of day in UTCTimeOfDayDimension
alif_eomIdNUMBER(38,0)Foreign key to the ECS organization ECSOrganizationMapping
alif_exceededSecondsNUMBER(38,0)Count of exceeded seconds

alif_interactionEndTimeTIMESTAMP_NTZ(9)Interaction end time in UTC

alif_interactionIdNUMBER(38,0)Identifier of the Interaction

alif_interactionStartTimeTIMESTAMP_NTZ(9)Interaction start time in UTC

alif_interactionStateIdNUMBER(15,0)Foreign key to the interaction stateECSInteractionStateDimension
alif_interactionTypeIdNUMBER(15,0)Foreign key to the interaction typeECSInteractionTypeDimension
alif_loginDateSliceIdNUMBER(38,0)Foreign key to the status login date in UTCDateDimension


alif_loginTimeTIMESTAMP_NTZ(9)Agent login time in UTC

alif_loginTimeSliceIdNUMBER(38,0)Foreign key to the status login time of day in UTCTimeOfDayDimension


alif_logoffDateSliceIdNUMBER(38,0)Foreign key to of the status logoff date in UTCDateDimension 


alif_logoffTimeTIMESTAMP_NTZ(9)Agent logoff time in UTC

alif_logoffTimeSliceIdNUMBER(38,0)Foreign key to the status logoff time of day in UTCTimeOfDayDimension


alif_paidBOOLEANFlag for a status: was paid

alif_requestTimeTIMESTAMP_NTZ(9)Request time for a status

alif_shiftIdNUMBER(38,0)Shift number

alif_sourceKeyVARCHAR(50)Source Key

alif_startDateSliceIdNUMBER(38,0)Foreign key to the status start date in UTCDateDimension


alif_startTimeTIMESTAMP_NTZ(9)Status start time in UTC

alif_startTimeSliceIdNUMBER(38,0)Foreign key to the status start time of day in UTCTimeOfDayDimension


alif_supervisorDecisionTimeTIMESTAMP_NTZ(9)Supervisor decision time for a status

alif_supervisorIdNUMBER(15,0)Foreign key to the supervisorECSUserDimension
alif_updateDateTimeTIMESTAMP_NTZ(9)Agent life last status update datetime

alif_eipIdVARCHAR(16)The account identifier

alif_agentLifeTypeNameVARCHAR(50)Agent life type name

alif_agentStatusNameVARCHAR(50)Agent status name

alif_breakTypeNameVARCHAR(100)Break type name

alif_parentEipIdVARCHAR(16)Parent account identifier

alif_loginTimestampLocalTIMESTAMP_NTZ(9)Agent login time in local time

alif_logoffTimestampLocalTIMESTAMP_NTZ(9)Agent logoff time in local time

alif_startTimestampLocalTIMESTAMP_NTZ(9)Status start time in local time

alif_endTimestampLocalTIMESTAMP_NTZ(9)Status end time in local time

alif_interactionStartTimestampLocalTIMESTAMP_NTZ(9)Interaction start time in local time

alif_interactionEndTimestampLocalTIMESTAMP_NTZ(9)Interaction end time in local time

alif_loginDateLocalNUMBER(38,0)Foreign key to the status login date in local timeDateDimension
alif_loginTimeLocalNUMBER(38,0)Foreign key to the  status login time of day in local timeTimeOfDayDimension
alif_logoffDateLocalNUMBER(38,0)Foreign key to the status logoff date in local timeDateDimension
alif_logoffTimeLocalNUMBER(38,0)Foreign key to the status logoff time of day in local timeTimeOfDayDimension
alif_startDateLocalNUMBER(38,0)Foreign key to the status start date in local timeDateDimension
alif_startTimeLocalNUMBER(38,0)Foreign key to the status start time of day in local timeTimeOfDayDimension
alif_endDateLocalNUMBER(38,0)Foreign key to the status end date in local timeDateDimension
alif_endTimeLocalINUMBER(38,0)Foreign key to the status end time of day in local timeTimeOfDayDimension
alif_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

alif_updatedBOOLEANIndicates whether the record was updated

alif_changeTriggerVARCHAR(200)







ECSAttemptFact





Column NameSnowflake TypeDescriptionReferencesComments
atmp_idNUMBER(38,0)Primary key

atmp_attemptIdNUMBER(38,0)Identifier of the attempt

atmp_agentIdNUMBER(15,0)Foreign key to the agentECSUserDimension
atmp_answerDateSliceIdNUMBER(38,0)Foreign key to the answer date in UTCDateDimension


atmp_answerTimeTIMESTAMP_NTZ(9)Answer datetime in UTC

atmp_answerTimeSliceIdNUMBER(38,0)Foreign key to the answer time of day in UTCTimeOfDayDimension


atmp_attemptDateSliceIdNUMBER(38,0)Foreign key to the attempt date in UTCDateDimension


atmp_attemptNoNUMBER(38,0)Attempt number

atmp_attemptTimeTIMESTAMP_NTZ(9)Attempt datetime in UTC

atmp_attemptTimeSliceIdNUMBER(38,0)Foreign key to the attempt time of day in UTCTimeOfDayDimension


atmp_businessProcessIdNUMBER(15,0)Foreign key to the business process of current attempt.ECSBusinessProcessDimension
atmp_campaignEnterDateSliceIdNUMBER(38,0)Foreign key to the campaign enter date in UTCDateDimension


atmp_campaignEnterTimeTIMESTAMP_NTZ(9)When the interaction was added to campaign (loaded)

atmp_campaignEnterTimeSliceIdNUMBER(38,0)Foreign key to the campaign enter time of day of day in UTCTimeOfDayDimension


atmp_campaignIdNUMBER(15,0)Foreign key to the campaignECSCampaignDimension
atmp_campaignInteractionIdNUMBER(38,0)Campaign Interaction Id - system Id

atmp_campaignLastAttemptDateSliceIdNUMBER(38,0)Foreign key to the campaign last attempt date in UTCDateDimensionDeprecated field
atmp_campaignLastAttemptTimeTIMESTAMP_NTZ(9)Last attempt datetime

atmp_campaignLastAttemptTimeSliceIdNUMBER(38,0)Foreign key to the campaign last attempt time of day in UTCTimeOfDayDimensionDeprecated field
atmp_destinationVARCHAR(16777216)Destination

atmp_endDateSliceIdNUMBER(38,0)Foreign key to the end date in UTCDateDimension


atmp_endTimeTIMESTAMP_NTZ(9)Attempt end time

atmp_endTimeSliceIdNUMBER(38,0)Foreign key to the end time of day in UTCTimeOfDayDimension


atmp_eomIdNUMBER(38,0)Foreign key to the ECS organization ECSOrganizationMapping
atmp_interactionStateIdNUMBER(15,0)Foreign key to the interaction state of current attemptECSInteractionStateDimension
atmp_lastAttemptInteractionStateIdNUMBER(15,0)Foreign key to the interaction state of last attemptECSInteractionStateDimension
atmp_numberOfAttemptsNUMBER(38,0)Number of attempts

atmp_remarksVARCHAR(16777216)Remarks

atmp_updateDateTimeTIMESTAMP_NTZ(9)Attempt last update datetime

atmp_eipIdVARCHAR(16)The account identifier

atmp_parentEipIdVARCHAR(16)Parent account identifier

atmp_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

atmp_updatedBOOLEANIndicates whether the record was updated

atmp_interactionIdNUMBER(38,0)


atmp_handlerNameVARCHAR(256)







ECSInteractionFact 





Column NameSnowflake TypeDescriptionReferencesComments
intr_idNUMBER(38,0)Primary key

intr_interactionIdNUMBER(38,0)Identifier of interaction

intr_interactionGUIDIDVARCHAR(36)GUID identifier

intr_interactionLegNUMBER(38,0)Interaction leg

intr_agentHandlingTimeNUMBER(38,0)Agent handling time

intr_agentIDNUMBER(15,0)Foreign key to the ECS agentECSUserDimension
intr_answeredWithinGoalTimeBOOLEANFlag: was interaction answered within a goal time?

intr_areaCodeIdNUMBER(38,0)Foreign key ot the area codeAreaCodeDimension
intr_CRMContactIdVARCHAR(36)Identifier to CRM contact

intr_campaignIdNUMBER(15,0)Foreign key to the campaignECSCampaignDimension
intr_closedBySystemBOOLEANFlag: was interaction closed by system?

intr_consultTimeNUMBER(38,0)Consult time

intr_currentSLThresholdNUMBER(38,0)Current Service Level Threshold

intr_customerBillingCodeVARCHAR(128)Customer billing code

intr_customerCallsNUMBER(38,0)Customer Calls

intr_destinationVARCHAR(16777216)Destination

intr_directionIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by: intr_directionName.
intr_dispositionCodeVARCHAR(200)Disposition code

intr_dispositionCodeCategoryVARCHAR(128)Disposition Code Category

intr_dispositionCodeSubCategoryVARCHAR(128)Disposition Code Sub Category

intr_durationNUMBER(38,0)Last attempt duration

intr_emailBacklogBOOLEANFlag: was email interaction kept in a backlog?

intr_endDateSliceIdNUMBER(38,0)Foreign key to the interaction end date in UTC  DateDimension


intr_endTimeTIMESTAMP_NTZ(9)Interaction end time in UTC

intr_endTimeSliceIdNUMBER(38,0)Foreign key to the interaction end time of day in UTC  TimeOfDayDimension


intr_endedInRequestDNCBOOLEANEnded in request "Do not call"

intr_endedInTransferBOOLEANFlag: was interaction ended in transfer?

intr_endingStatusVARCHAR(50)Ending status - is not actual

intr_enterDateSliceIdNUMBER(38,0)Foreign key to the interaction enter date in UTC  DateDimension


intr_enterTimeTIMESTAMP_NTZ(9)When the interaction was added to campaign (loaded) in UTC


intr_enterTimeSliceIdNUMBER(38,0)Foreign key to the interaction enter time of day in UTC  TimeOfDayDimension


intr_eomIdNUMBER(38,0)Foreign key to the ECS organization ECSOrganizationMapping
intr_externalTransferDIDVARCHAR(128)External transfer DID

intr_hasAnotherAttemptBOOLEANFlag: is there another attempt?

intr_holdTimeNUMBER(38,0)Hold time in seconds

intr_IVRTimeNUMBER(38,0)IVR time

intr_interactionCreationTypeIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by: intr_interactionCreationTypeName
intr_interactionMediaIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by: intr_interactionMediaName
intr_interactionResultIdNUMBER(15,0)Deprecated
Deprecated field. Replaced by: intr_interactionResultName
intr_interactionTypeIdNUMBER(15,0)Foreign key to the interaction typeECSInteractionTypeDimension
intr_isDeferrableBOOLEANFlag: was the interaction deferrable?

intr_lasHandlerHandlingTimeNUMBER(38,0)Last handler handling time

intr_lastAttemptAgentIdNUMBER(15,0)Foreign key of the last attempt agentECSUserDimension
intr_lastAttemptAnswerDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

intr_lastAttemptAnswerTimeTIMESTAMP_NTZ(9)Last attempt answer time in UTC


intr_lastAttemptAnswerTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

intr_lastAttemptDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

intr_lastAttemptDestinationVARCHAR(128)Last attempt destination

intr_lastAttemptEndDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

intr_lastAttemptEndTimeTIMESTAMP_NTZ(9)Last attempt end time in UTC

intr_lastAttemptEndTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

intr_lastAttemptInteractionStateIdNUMBER(15,0)Foreign key to the interaction state of last attemptECSInteractionStateDimension
intr_lastAttemptRemarksVARCHAR(16777216)Remarks of last attempt

intr_lastAttemptTimeTIMESTAMP_NTZ(9)Last Attempt time in UTC

intr_lastAttemptTimeSliceIdNUMBER(38,0)Identifier of the last attempt time of day in UTC

Deprecated field

intr_lastInteractionStateIdNUMBER(15,0)Foreign key to the latest interaction stateECSInteractionStateDimension
intr_lastTreatingAgentIdNUMBER(15,0)Foreign key to the agent last treated the interactionECSUserDimension
intr_lastTreatingBusinessProcessIdNUMBER(15,0)Foreign key to the business process last treated the interactionECSBusinessProcessDimension
intr_lastTreatingInteractionChannelIdNUMBER(15,0)Foreign key to the channel last treated the interactionECSInteractionChannelDimension
intr_mistreatedCodeNUMBER(38,0)DNC number

intr_mistreatedDateSliceIdNUMBER(38,0)Foreign key to the mistreated date in UTC

Deprecated field

intr_mistreatedTimeTIMESTAMP_NTZ(9)When DNC number was called in UTC

intr_mistreatedTimeSliceIdNUMBER(38,0)Foreign key to the mistreated time of day in UTC

Deprecated field

intr_numberOfAttemptsNUMBER(38,0)Number of attempts

intr_originVARCHAR(128)Origin

intr_overflowBOOLEANFlag: was interaction overflow?

intr_previousAgentIdNUMBER(15,0)Foreign key to the agent if the previous handler was an agentECSUserDimension
intr_previousBusinessProcessIdNUMBER(15,0)Foreign key to the business process if the previous handler was a business process ECSBusinessProcessDimension
intr_previousHandlerHandlingTimeNUMBER(38,0)Handling time of the handler before the last handler of the interaction

intr_previousInteractionChannelIdNUMBER(15,0)

Foreign key to the interaction channel if the previous handler was a channel

ECSInteractionChannelDimension
intr_queueTimeNUMBER(38,0)Queue time

intr_queuedBOOLEANFlag: was interaction queued?

intr_remarksVARCHAR(16777216)Remarks

intr_responseCountNUMBER(38,0)Count of responses within a conversation

intr_responseTimeSumNUMBER(38,0)Summarized count of seconds in responses within a conversation

intr_routingClientNameVARCHAR(50)Routing Client Name

intr_routingInboundCampaignNameVARCHAR(50)Routing Inbound Campaign Name

intr_routingProductNameVARCHAR(50)Routing Product Name

intr_routingProductTypeVARCHAR(50)Routing Product Type

intr_sLExcludedBOOLEANFlag: was interaction excluded from Service Level calculations?

intr_startDateSliceIdNUMBER(38,0)Foreign key to the interaction start date in UTC  DateDimension


intr_startTimeTIMESTAMP_NTZ(9)Interaction start time in UTC

intr_startTimeSliceIdNUMBER(38,0)Foreign key to the interaction start time of day in UTC  TimeOfDayDimension


intr_telephonyTimeExternalAgentNUMBER(38,0)External agent telephony time

intr_telephonyTimeExternalConsultNUMBER(38,0)External consulting telephony time

intr_telephonyTimeIncomingNUMBER(38,0)Incoming telephony time

intr_telephonyTimeOutgoingNUMBER(38,0)Outgoing telephony time

intr_timeZoneIdNUMBER(38,0)Foreign key to the time zoneTimeZoneDimension
intr_updateDateTimeTIMESTAMP_NTZ(9)Interaction last update datetime in UTC

intr_voiceMailAssignedAgentIdNUMBER(15,0)Foreign key to the  to assigned agent for a voicemailECSUserDimension
intr_voiceMailLeftBOOLEANFlag: was left a voicemail

intr_wasAbandonedBOOLEANFlag: was interaction abandoned?

intr_wrapUpTimeNUMBER(38,0)Wrap-up time in seconds

intr_eipIdVARCHAR(16)The account identifier

intr_inboundBOOLEANIndicates if the interaction creation type is inbound

intr_outboundBOOLEANIndicates if the interaction creation type is outbound

intr_outgoingInternalBOOLEANIndicates if the interaction creation type is outgoing internal

intr_callbackBOOLEANIndicates if the interaction creation type is callback

intr_campaignBOOLEANIndicates if the interaction creation type is campaign

intr_telephonyBOOLEANIndicates if the interaction is a telephony interaction

intr_chatBOOLEANIndicates if the interaction is a chat interaction

intr_emailBOOLEANIndicates if the interaction is an email interaction

intr_callbackRequestsBOOLEANIndicates the callback was requested

intr_callbackCompletedBOOLEANIndicates the callback has been completed

intr_transferredInBOOLEANIndicates if the interaction is transferred in

intr_transferredOutBOOLEANIndicates if the interaction is an external transfer

intr_abandonedBOOLEANIndicates if the interaction was abandoned

intr_disconnectedBOOLEANIndicates if handled interaction was closed by the system

intr_answeredBOOLEANIndicates if the incoming interaction has been answered

intr_isTalkedBOOLEANIndicates if the interaction talk time > 0

intr_rescheduledBOOLEAN

Indicates emails that were manually scheduled by an agent to be answered at a later time



intr_handledBOOLEAN

Indicates if an incoming email interaction was handled by an agent



intr_simplyAbandonedBOOLEAN

Indicates if an interaction was abandoned includes interactions that were excluded from Service Level calculations



intr_holdBOOLEANIndicates if the interaction was on hold

intr_purgedBOOLEANIndicates if the interaction has been purged

intr_consultedBOOLEANIndicates if the interaction state is consulted

intr_missedBOOLEANIndicates if the interaction has been missed

intr_rejectedBOOLEANIndicates if the interaction was rejected

intr_handledInBPBOOLEANIndicates if the interaction was first handled by a business process

intr_handledByAgentBOOLEANIndicates if the interaction was first handled by an agent

intr_abandonedTimeNUMBER(38,0)Time until interaction was abandoned 

intr_CRMFirstNameVARCHAR(50)First name of the CRM contact

intr_CRMLastNameVARCHAR(50)Last name of the CRM contact

intr_interactionCreationTypeNameVARCHAR(100)Interaction creation type name

intr_interactionMediaNameVARCHAR(100)Interaction media name

intr_interactionResultNameVARCHAR(100)Interaction result name

intr_directionNameVARCHAR(100)Direction name

intr_businessProcessNameVARCHAR(100)Business process name

intr_oldCallbackExistedVARCHAR(36)Was interaction handled after a callback requested? if yes, then GUID identifier will be defined here

intr_telephonyTimeExternalTransferNUMBER(38,0)External Transfer telephony time

intr_businessProcessIdNUMBER(15,0)Foreign key to the business processECSBusinessProcessDimension
intr_talkTimeNUMBER(38,0)Talk time in seconds

intr_parentEipIdVARCHAR(16)Parent account identifier

intr_startTimestampLocalTIMESTAMP_NTZ(9)Interaction start time in local time

intr_enterTimestampLocalTIMESTAMP_NTZ(9)When the interaction was added to campaign (loaded) in local time

intr_endTimestampLocalTIMESTAMP_NTZ(9)Interaction end time in local time

intr_startDateLocalNUMBER(38,0)Foreign key to the interaction start date in local timeDateDimension
intr_startTimeLocalNUMBER(38,0)Foreign key to the interaction start time of day in local timeTimeOfDayDimension
intr_enterDateLocalNUMBER(38,0)Foreign key to the interaction enter date in local timeDateDimension
intr_enterTimeLocalNUMBER(38,0)Foreign key to the interaction enter time of day in local timeTimeOfDayDimension
intr_endDateLocalNUMBER(38,0)Foreign key to the interaction end date in local timeDateDimension
intr_endTimeLocalNUMBER(38,0)Foreign key to the interaction end time of day in local timeTimeOfDayDimension


intr_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

intr_updatedBOOLEANIndicates whether the record was updated

intr_remotePartyVARCHAR(16777216)


intr_customerOptInBOOLEAN


intr_surveyBOOLEANPost call survey data

intr_postAgentTimeSecNUMBER(38,0)


intr_campaignInteractionLastStateIdNUMBER(15,0)


intr_previewTimeBOOLEAN


intr_recordingPathVARCHAR(256)


intr_recordingTranscriptionVARCHAR(16777216)


intr_interactionVariablesVARCHAR(16777216)


intr_HPBXCallInfoVARCHAR(16777216)HPBX call info in JSON format

intr_disconnectingPartyNUMBER(38,0)


intr_dynamicRoutingDataVARCHAR(16777216)







ECSInteractionSegmentFact

Column NameSnowflake TypeDescriptionReferencesComments
iseg_idNUMBER(38,0)Primary key

iseg_interactionSegmentIdNUMBER(38,0)Interaction segment identifier

iseg_interactionLegNUMBER(38,0)Interaction leg

iseg_agentHandlingTimeNUMBER(38,0)Agent handling time

iseg_agentIdNUMBER(15,0)Foreign key to the agentECSUserDimension
iseg_answeredWithinGoalTimeBOOLEANFlag: was interaction answered within a goal time?

iseg_areaCodeIdNUMBER(38,0)Foreign key to the area codeAreaCodeDimension
iseg_businessProcessIdNUMBER(15,0)Foreign key to the business processECSBusinessProcessDimension
iseg_CRMContactIdVARCHAR(36)Identifier to CRM contact

iseg_campaignIdNUMBER(15,0)Foreign key to the campaignECSCampaignDimension
iseg_closedBySystemBOOLEANFlag: was interaction closed by system?

iseg_consultTimeNUMBER(38,0)Consult time

iseg_currentSLThresholdNUMBER(38,0)Current Service Level Threshold

iseg_customerBillingCodeVARCHAR(128)Customer billing code

iseg_customerCallsNUMBER(38,0)Customer calls

iseg_destination

VARCHAR(16777216)

Destination

iseg_directionIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by: iseg_directionName.
iseg_dispositionCode

VARCHAR(256)

Disposition Code 

iseg_dispositionCodeCategory

VARCHAR(128)

Disposition Code Category

iseg_dispositionCodeSubCategoryVARCHAR(128)Disposition Code Sub Category

iseg_durationNUMBER(38,0)Last attempt duration

iseg_emailBacklogBOOLEANFlag: was email interaction kept in a backlog?

iseg_endDateSliceIdNUMBER(38,0)Foreign key to the interaction segment end date in UTCDateDimension


iseg_endTimeTIMESTAMP_NTZ(9)Segment end time in UTC

iseg_endTimeSliceIdNUMBER(38,0)Foreign key to the interaction segment end time of day in UTCTimeOfDayDimension


iseg_endedInRequestDNCBOOLEANEnded in request "Do not call"

iseg_endedInTransferBOOLEANFlag: was interaction ended in transfer?

iseg_endingStatusVARCHAR(50)Ending status - currently not in use

iseg_enterDateSliceIdNUMBER(38,0)Foreign key to the interaction Interaction enter date in UTCDateDimension


iseg_enterTimeTIMESTAMP_NTZ(9)When the interaction was added to campaign (loaded)

iseg_enterTimeSliceIdNUMBER(38,0)Foreign key to the interaction enter time of day in UTCTimeOfDayDimension


iseg_eomIdNUMBER(38,0)Foreign key to  the ECS organization ECSOrganizationMapping
iseg_externalTransferDIDVARCHAR(128)External transfer DID

iseg_handlerNUMBER(38,0)Identifier to handler (source key from D_Agent, D_BusinessProcess or D_InteractionChannel)

iseg_hasAnotherAttemptBOOLEANFlag: is there another attempt?

iseg_holdTimeNUMBER(38,0)Hold time in seconds

iseg_IVRTimeNUMBER(38,0)IVR time

iseg_interactionChannelIdNUMBER(15,0)Foreign key of the interaction channelECSInteractionChannelDimension
iseg_interactionCreationTypeIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by iseg_creationTypeName
iseg_interactionEndDateSliceIdNUMBER(38,0)Foreign key to the Interaction end date in UTCDateDimension


iseg_interactionEndTimeTIMESTAMP_NTZ(9)Interaction end time in UTC

iseg_interactionEndTimeSliceIdNUMBER(38,0)Foreign key to the Interaction end time of day in UTCTimeOfDayDimension


iseg_interactionGUIDIDVARCHAR(36)GUID identifier to interaction

iseg_interactionIdNUMBER(38,0)Identifier of the interaction

iseg_interactionMediaIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by: iseg_interactionMediaName
iseg_interactionResultIdNUMBER(15,0)Deprecated
Deprecated field. Replaced by: iseg_interactionResultName
iseg_interactionStartDateSliceIdNUMBER(38,0)Foreign key to the Interaction start date in UTCDateDimension


iseg_interactionStartTimeTIMESTAMP_NTZ(9)Interaction start time in UTC

iseg_interactionStartTimeSliceIdNUMBER(38,0)Foreign key to the Interaction start time of day in UTCTimeOfDayDimension


iseg_interactionStateIdNUMBER(15,0)Foreign key of the interaction stateECSInteractionStateDimension
iseg_interactionTypeIdNUMBER(15,0)Foreign key of the interaction typeECSInteractionTypeDimension
iseg_isDeferrableBOOLEANFlag: was the interaction deferrable?

iseg_lasHandlerHandlingTimeNUMBER(38,0)Last handler handling time

iseg_lastAttemptAgentIdNUMBER(15,0)Foreign key to the last attempt agentECSUserDimension
iseg_lastAttemptAnswerDateSliceId
Deprecated

Deprecated field

iseg_lastAttemptAnswerTimeTIMESTAMP_NTZ(9)Last attempt answer time in UTC

iseg_lastAttemptAnswerTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_lastAttemptDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_lastAttemptDestinationVARCHAR(128)Last attempt destination

iseg_lastAttemptEndDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_lastAttemptEndTimeTIMESTAMP_NTZ(9)Last attempt end time in UTC

iseg_lastAttemptEndTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_lastAttemptInteractionStateIdNUMBER(15,0)Foreign key to the last attempt interaction stateECSInteractionStateDimension
iseg_lastAttemptRemarksVARCHAR(16777216)Remarks of last attempt

iseg_lastAttemptTimeTIMESTAMP_NTZ(9)Last Attempt time in UTC

iseg_lastAttemptTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_lastInteractionStateIdNUMBER(15,0)Foreign key of the last interaction stateECSInteractionStateDimension
iseg_lastTreatingAgentIdNUMBER(15,0)Foreign key of the agent last treated the interactionECSUserDimension
iseg_lastTreatingBusinessProcessIdNUMBER(15,0)Foreign key of the business process last treated the interactionECSBusinessProcessDimension
iseg_lastTreatingInteractionChannelIdNUMBER(15,0)Foreign key of the channel last treated the interactionECSInteractionChannelDimension
iseg_mistreatedCodeNUMBER(38,0)DNC number

iseg_mistreatedDateSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_mistreatedTimeTIMESTAMP_NTZ(9)When DNC number was called in UTC

iseg_mistreatedTimeSliceIdNUMBER(38,0)Deprecated

Deprecated field

iseg_nextInteractionStateIdNUMBER(15,0)Foreign key to the next interaction stateECSInteractionStateDimension
iseg_numberOfAttemptsNUMBER(38,0)Number of attempts

iseg_originVARCHAR(128)Origin

iseg_originatedFromIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by iseg_originatedFromName
iseg_overflowBOOLEANFlag: was interaction overflow?

iseg_previousAgentIdNUMBER(15,0)is not actual

iseg_previousBusinessProcessIdNUMBER(15,0)is not actual

iseg_previousHandlerHandlingTimeNUMBER(38,0)is not actual

iseg_previousInteractionChannelIdNUMBER(15,0)Foreign key to the previous interaction channel

iseg_queueTimeNUMBER(38,0)Queue time

iseg_queuedBOOLEANFlag: was interaction queued?

iseg_remarksVARCHAR(16777216)Remarks

iseg_responseCountNUMBER(38,0)Count of responses within a conversation

iseg_responseTimeSumNUMBER(38,0)Summarized count of seconds in responses within a conversation

iseg_SLExcludedBOOLEANFlag: was interaction excluded from Service Level calculations?

iseg_sequenceIdNUMBER(38,0)Sequence number within a specific interaction

iseg_startDateSliceIdNUMBER(38,0)Foreign key to the interaction segment start date in UTCDateDimension


iseg_startTimeTIMESTAMP_NTZ(9)Segment start time in UTC

iseg_startTimeSliceIdNUMBER(38,0)Foreign key to the interaction segment start time of day in UTCTimeOfDayDimension


iseg_talkTimeNUMBER(38,0)Talk time in seconds

iseg_telephonyTimeExternalAgentNUMBER(38,0)External agent telephony time

iseg_telephonyTimeExternalConsultNUMBER(38,0)External consulting telephony time

iseg_telephonyTimeIncomingNUMBER(38,0)Incoming telephony time

iseg_telephonyTimeOutgoingNUMBER(38,0)Outgoing telephony time

iseg_timeZoneIdNUMBER(38,0)Foreign key to time zoneTimeZoneDimension
iseg_updateDateTimeTIMESTAMP_NTZ(9)Segment last update date time

iseg_voiceMailAssignedAgentIdNUMBER(15,0)Foreign key to the assigned agent for a voicemailECSUserDimension
iseg_voiceMailLeftBOOLEANFlag: was left a voicemail

iseg_wasAbandonedBOOLEANFlag: was interaction abandoned?

iseg_wrapUpTimeNUMBER(38,0)Wrap Up time in seconds

iseg_eipIdVARCHAR(16)The account identifier

iseg_oldCallbackExistedVARCHAR(36)Was interaction handled after a callback requested? if yes, then GUID identifier will be defined here

iseg_telephonyTimeExternalTransferNUMBER(38,0)External Transfer telephony time

iseg_handlerTypeNameVARCHAR(128)Handler type name

iseg_directionNameVARCHAR(128)Direction name

iseg_interactionResultNameVARCHAR(128)Interaction result name

iseg_interactionMediaNameVARCHAR(128)Interaction media name

iseg_originatedFromNameVARCHAR(128)Originated source  name of the interaction 

iseg_businessProcessNameVARCHAR(128)Business process name

iseg_interactionCreationTypeNameVARCHAR(128)Interaction creation type name

iseg_interactionStateNameVARCHAR(128)Interaction state name

iseg_routingClientNameVARCHAR(64)Routing client name

iseg_routingInboundCampaignNameVARCHAR(64)Routing Inbound campaign name

iseg_routingProductNameVARCHAR(64)Routing product name

iseg_routingProductTypeVARCHAR(64)Routing product type

iseg_CRMFirstNameVARCHAR(64)First name of the CRM contact

iseg_CRMLastNameVARCHAR(64)Last name of the CRM contact

iseg_segmentDurationNUMBER(38,0)Segment duration

iseg_agentAnswerTimeNUMBER(38,0)

This is the sum of time spent in the queue (excluding ring time / offer time)



iseg_agentDelayTimeNUMBER(38,0)The sum of time spent in the queue (excluding ring time / offer time )

iseg_selectTimeTIMESTAMP_NTZ(9)


iseg_inboundBOOLEANIndicates if the interaction creation type is inbound

iseg_outBoundBOOLEANIndicates if the interaction creation type is outbound

iseg_callbackBOOLEANIndicates if the interaction creation type is callback

iseg_telephonyBOOLEANIndicates if the interaction is a telephony interaction

iseg_chatBOOLEANIndicates if the interaction is a chat interaction

iseg_emailBOOLEANIndicates if the interaction is an email interaction

iseg_callbackRequestsBOOLEANIndicates that a callback was requested

iseg_callbackCompletedBOOLEANIndicates the callback has been completed

iseg_transferredInBOOLEANIndicates if the interaction is transferred in

iseg_transferredOutBOOLEANIndicates if the interaction is an external transfer

iseg_disconnectedBOOLEANIndicates if handled interaction was closed by the system

iseg_answeredBOOLEANIndicates if the incoming interaction has been answered

iseg_consultedBOOLEANIndicates if the interaction state is consulted

iseg_talkedBOOLEANIndicates if the interaction talk time > 0

iseg_rescheduledBOOLEANIndicates emails that were manually scheduled by an agent to be answered at a later time

iseg_handledBOOLEANIndicates if an incoming email interaction was handled by an agent 

iseg_missedBOOLEANIndicates if the interaction has been missed

iseg_rejectedBOOLEANIndicates if the interaction was rejected

iseg_handledInBPBOOLEANIndicates if the interaction was first handled by a business process

iseg_handledByAgentBOOLEANIndicates if the interaction was handled by an agent 

iseg_answeredAllTypesBOOLEANIndicates if the interaction is in handling state

iseg_BPExistBOOLEANIndicates if segment has a business process associated with it 

iseg_parentEipIdVARCHAR(16)The account parent identifier

iseg_interactionStartTimestampLocalTIMESTAMP_NTZ(9)Interaction start time in local time

iseg_interactionEndTimestampLocalTIMESTAMP_NTZ(9)Interaction end time in local time

iseg_startTimestampLocalTIMESTAMP_NTZ(9)Segment start time in local time

iseg_endTimestampLocalTIMESTAMP_NTZ(9)Segment end time in local time

iseg_enterTimestampLocalTIMESTAMP_NTZ(9)When the interaction was added to campaign (loaded) in local time

iseg_interactionStartDateLocalNUMBER(38,0)Foreign key to the interaction start date in local timeDateDimension
iseg_interactionStartTimeLocalNUMBER(38,0)Foreign key to the interaction start time of day in local timeTimeOfDayDimension
iseg_interactionEndDateLocalNUMBER(38,0)Foreign key to the interaction end date in local timeDateDimension
iseg_interactionEndTimeLocalNUMBER(38,0)Foreign key to the interaction end time of day in local timeTimeOfDayDimension
iseg_startDateLocalNUMBER(38,0)Foreign key to the start date in local timeDateDimension
iseg_startTimeLocalNUMBER(38,0)Foreign key to the start time of day in local timeTimeOfDayDimension
iseg_endDateLocalNUMBER(38,0)Foreign key to the end date in local timeDateDimension
iseg_endTimeLocalNUMBER(38,0)Foreign key to the end time of day in local timeTimeOfDayDimension
iseg_enterDateLocalNUMBER(38,0)Foreign key to the enter date in local timeDateDimension
iseg_enterTimeLocalNUMBER(38,0)Foreign key to the enter time of day in local timeTimeOfDayDimension
iseg_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

iseg_updatedBOOLEANIndicates whether the record was updated

iseg_previewTimeNUMBER(38,0)Preview time

iseg_additionalInfoVARCHAR(16777216)Additional info

iseg_HPBXCallInfoVARCHAR(16777216)HPBX call info in JSON format

iseg_SIPCallIdVARCHAR(16777216)The SIP call ID 






ECSInteractionSkillFact





Column NameSnowflake TypeDescriptionReferencesComments
iskl_idNUMBER(38,0)Primary key

iskl_activeBOOLEANFlag: is active or not

iskl_dateNUMBER(38,0)Foreign key to the skill dateDateDimension


iskl_entityIdNUMBER(38,0)Identifier of entity

iskl_entityTypeIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by iskl_entityTypeName
iskl_eomIdNUMBER(38,0)Foreign key to ECS organization ECSOrganizationMapping
iskl_interactionIdVARCHAR(36)Identifier to interaction

iskl_interactionSkillIdNUMBER(38,0)Identifier of the interaction skill

iskl_levelIdNUMBER(38,0)Deprecated
Deprecated field. Replaced by iskl_levelName
iskl_skillIdNUMBER(15,0)Deprecated
Deprecated field. Replaced by iskl_skillName
iskl_timeNUMBER(38,0)Foreign key to the skill timeTimeOfDayDimension


iskl_timestamp

TIMESTAMP_NTZ(9)

false



iskl_eipIdVARCHAR(16)The account identifier

iskl_entityTypeNameVARCHAR(50)Entity type name

iskl_levelNameVARCHAR(50)Level name

iskl_skillNameVARCHAR(128)Skill name

iskl_parentEipIdVARCHAR(16)The parent account identifier

iskl_lastUpdatedTimestamp

TIMESTAMP_NTZ(9)

false



iskl_updatedBOOLEANIndicates whether the record was updated






ECSInteractionConversationFact





Column NameSnowflake TypeDescriptionReferencesComments
icnv_idNUMBER(38,0)Primary key

icnv_interactionConversationIdNUMBER(38,0)The interaction conversation identifier

icnv_interactionMediaNameVARCHAR(100)The name to media: email / chat

icnv_interactionGUIDIDVARCHAR(36)The interaction GUID identifier

icnv_interactionIdNUMBER(38,0)Identifier to interaction

icnv_isCustomerBOOLEANFlag: was a message from customer?

icnv_messageTimestampTIMESTAMP_NTZ(9)The message timestamp in UTC

icnv_messageTimeNUMBER(38,0)Foreign key to the interaction message time in UTCTimeOfDayDimension
icnv_messageDateNUMBER(38,0)Foreign key to the interaction message date in UTCDateDimension
icnv_messageTimestampLocalTIMESTAMP_NTZ(9)The message timestamp in local time

icnv_messageTimeLocalNUMBER(38,0)Foreign key to the interaction message date in local timeTimeOfDayDimension
icnv_messageDateLocalNUMBER(38,0)Foreign key to the interaction message date in local timeDateDimension
icnv_messageTextVARCHAR(16777216)The message text

icnv_subjectVARCHAR(16777216)The email subject

icnv_fromVARCHAR(16777216)The sender

icnv_toVARCHAR(16777216)The recipient

icnv_ccVARCHAR(16777216)Carbon copy

icnv_bccVARCHAR(16777216)Blind carbon copy

icnv_sessionClosedBOOLEAN


icnv_eomIdNUMBER(38,0)Foreign key to ECS organization ECSOrganizationMapping
icnv_eipIdVARCHAR(16)The account identifier

icnv_parentEipIdVARCHAR(16)The parent account identifier

icnv_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

icnv_updatedBOOLEANIndicates whether the record was updated






ECSInteractionDelegatedFact





Column NameSnowflake TypeDescriptionReferencesComments
eidf_idNUMBER(38,0)Primary key

eidf_interactionDelegatedIdNUMBER(38,0)The interaction delegated identifier

eidf_interactionGUIDIDVARCHAR(36)The interaction GUID identifier

eidf_interactionTypeIdNUMBER(15,0)Foreign key to the interaction typeECSInteractionTypeDimension
eidf_businessProcessIdNUMBER(15,0)Foreign key to the business processECSBusinessProcessDimension
eidf_businessProcessNameVARCHAR(100)The business process name

eidf_detailsVARCHAR(16777216)


eidf_converserVARCHAR(256)


eidf_initiatorAgentIdNUMBER(15,0)Foreign key to the intiator agent

eidf_initiatorBusinessProcessIdNUMBER(15,0)Foreign key to the initiator business process

eidf_initiatorNameVARCHAR(50)Initiator name

eidf_entryTimestampTIMESTAMP_NTZ(9)Entry timestamp in UTC

eidf_entryDateNUMBER(38,0)Foreign key to the entry date in UTCDateDimension
eidf_entryTimeNUMBER(38,0)Foreign key to the entry time in UTCTimeOfDayDimension
eidf_entryTimestampLocalTIMESTAMP_NTZ(9)Entry timestamp in local time

eidf_entryDateLocalNUMBER(38,0)Foreign key to the entry date in local timeDateDimension
eidf_entryTimeLocalNUMBER(38,0)Foreign key to the entry time in local timeTimeOfDayDimension
eidf_updateTimestampTIMESTAMP_NTZ(9)Update timestamp in UTC

eidf_updateDateNUMBER(38,0)Foreign key to the update date in UTCDateDimension
eidf_updateTimeNUMBER(38,0)Foreign key to the update time in UTCTimeOfDayDimension
eidf_remarksVARCHAR(16777216)Remarks

eidf_delegatedStateNameVARCHAR(100)The interaction delegated state name

eidf_interactionMediaNameVARCHAR(100)The interaction media name

eidf_interactionStateIdNUMBER(15,0)Foreign key to the interaction stateECSInteractionStateDimension
eidf_interactionStateNameVARCHAR(100)Interaction state name

eidf_callbackBOOLEAN


eidf_campaignIdNUMBER(15,0)Foreign key to the campaignECSCampaignDimension
eidf_campaignNameVARCHAR(100)The campaign name

eidf_customerIdVARCHAR(16777216)


eidf_supervisorCloseMessageVARCHAR(16777216)


eidf_eomIdNUMBER(38,0)Foreign key to ECS organization ECSOrganizationMapping
eidf_eipIdVARCHAR(16)The account identifier

eidf_parentEipIdVARCHAR(16)The parent account identifier






ECSInteractionUsageFact





Column NameSnowflake TypeDescriptionReferencesComments
iusg_idNUMBER(38,0)Primary key

iusg_interactionUsageIdNUMBER(38,0)The interaction usage identifier

iusg_interactionIdNUMBER(38,0)The interaction identifier

iusg_interactionGUIDIDVARCHAR(36)The interaction GUID identifier

iusg_originVARCHAR(128)Origin

iusg_destinationVARCHAR(128)Destination

iusg_directionNameVARCHAR(128)Direction name

iusg_durationNUMBER(38,0)Usage duration

iusg_lastHandlerVARCHAR(256)The last handler name

iusg_startTimeNUMBER(38,0)Foreign key to the usage start time in UTCTimeOfDayDimension
iusg_startDateNUMBER(38,0)Foreign key to the usage start date in UTCDateDimension
iusg_startTimeLocalNUMBER(38,0)Foreign key to the usage start time in local timeTimeOfDayDimension
iusg_startDateLocalNUMBER(38,0)Foreign key to the usage start date in local timeDateDimension
iusg_endTimeNUMBER(38,0)Foreign key to the usage end time in UTCTimeOfDayDimension
iusg_endDateNUMBER(38,0)Foreign key to the usage end date in UTCDateDimension
iusg_endTimeLocalNUMBER(38,0)Foreign key to the usage end time in local timeTimeOfDayDimension
iusg_endDateLocalNUMBER(38,0)Foreign key to the usage end date in local timeDateDimension
iusg_startTimestampTIMESTAMP_NTZ(9)The usage start timestamp in UTC

iusg_startTimestampLocalTIMESTAMP_NTZ(9)The usage start timestamp in local time

iusg_endTimestampTIMESTAMP_NTZ(9)The usage end timestamp in UTC

iusg_endTimestampLocalTIMESTAMP_NTZ(9)The usage end timestamp in local time

iusg_interactionUsageTypeNameVARCHAR(128)The interaction usage type name

iusg_interactionStateIdNUMBER(15,0)Foreign key to the interaction state

iusg_interactionStateNameVARCHAR(128)The interaction state name

iusg_dispositionCodeVARCHAR(256)Disposition code

iusg_businessProcessIdNUMBER(15,0)Foreign key to the business processECSBusinessProcessDimension
iusg_businessProcessNameVARCHAR(128)The business process name

iusg_needsUpdateAfterByeTransferBOOLEANFlag

iusg_eomIdNUMBER(38,0)Foreign key to ECS organization ECSOrganizationMapping
iusg_eipIdVARCHAR(16)The account identifier

iusg_parentEipIdVARCHAR(16)The parent account identifier

iusg_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

iusg_updatedBOOLEANIndicates whether the record was updated






ECSAgentBpTimeFact





Column NameSnowflake TypeDescriptionReferencesComments
abpt_idNUMBER(38,0)Primary key

abpt_agentBpTimeIdNUMBER(38,0)The Agent Bp time source identifier

abpt_agentIdNUMBER(15,0)Agent foreign keyECSUserDimension
abpt_agentNameVARCHAR(100)Agent name

abpt_backOfficeNUMBER(38,0)


abpt_backofficeBusyNUMBER(38,0)


abpt_backofficeIdleNUMBER(38,0)


abpt_breakNUMBER(38,0)


abpt_businessProcessIdNUMBER(15,0)Business process foreign keyECSBusinessProcessDimension
abpt_businessProcessNameVARCHAR(100)Business process name

abpt_busyNUMBER(38,0)


abpt_consultingNUMBER(38,0)


abpt_dialingNUMBER(38,0)


abpt_handlingNUMBER(38,0)


abpt_handlingOutgoingIntNUMBER(38,0)


abpt_handlingOutgoingIntBusyNUMBER(38,0)


abpt_handlingOutgoingIntIdleNUMBER(38,0)


abpt_handlingTimeNUMBER(38,0)


abpt_inConferenceNUMBER(38,0)


abpt_isAssignedNUMBER(38,0)


abpt_isInternalNUMBER(38,0)


abpt_outgoingBreakExistsNUMBER(38,0)


abpt_noAnswerNUMBER(38,0)


abpt_offeredNUMBER(38,0)


abpt_loginTimeNUMBER(38,0)


abpt_readyNUMBER(38,0)


abpt_waitingForNUMBER(38,0)


abpt_startDateNUMBER(38,0)Foreign key to the Agent BP time start date in UTCDateDimension
abpt_startTimeNUMBER(38,0)Foreign key to the Agent BP time start time in UTCTimeOfDayDimension
abpt_startDateLocalNUMBER(38,0)Foreign key to the Agent BP time start date in local timeDateDimension
abpt_startTimeLocalNUMBER(38,0)Foreign key to the Agent BP time start time in local timeTimeOfDayDimension
abpt_startTimestampTIMESTAMP_NTZ(9) Agent BP time start timestamp in UTC

abpt_startTimestampLocalTIMESTAMP_NTZ(9)Agent BP time start timestamp in local time

abpt_endDateNUMBER(38,0)Foreign key to the Agent BP time end date in UTCDateDimension
abpt_endTimeNUMBER(38,0)Foreign key to the Agent BP time end time in UTCTimeOfDayDimension
abpt_endDateLocalNUMBER(38,0)Foreign key to the Agent BP time end date in local timeDateDimension
abpt_endTimeLocalNUMBER(38,0)Foreign key to the Agent BP time end time in local timeTimeOfDayDimension
abpt_endTimestampTIMESTAMP_NTZ(9) Agent BP time end timestamp in UTC

abpt_endTimestampLocalTIMESTAMP_NTZ(9) Agent BP time end timestamp in local time

abpt_eomIdNUMBER(38,0)ECS organization  foreign keyECSOrganizationMapping
abpt_eipIdVARCHAR(16)The account identifier

abpt_parentEipIdVARCHAR(16)The parent account identifier

abpt_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

abpt_updatedBOOLEANIndicates whether the record was updated






ECSAgentAssignmentFact





Column NameSnowflake TypeDescriptionReferencesComments
aaf_idNUMBER(38,0)Primary key

aaf_agentAssignmentsLogIdNUMBER(38,0)The agent assignment source identifier

aaf_agentIdNUMBER(15,0)Agent foreign keyECSUserDimension
aaf_agentNameVARCHAR(128)Agent name

aaf_businessProcessIdNUMBER(15,0)Business process foreign keyECSBusinessProcessDimension
aaf_businessProcessNameVARCHAR(128)Business process name

aaf_modifiedByVARCHAR(100)


aaf_startTimeNUMBER(38,0)Foreign key to the Agent assignment start time in UTCTimeOfDayDimension
aaf_startDateNUMBER(38,0)Foreign key to the Agent assignment start date in UTCDateDimension
aaf_startTimeLocalNUMBER(38,0)Foreign key to the Agent assignment start time in local timeTimeOfDayDimension
aaf_startDateLocalNUMBER(38,0)Foreign key to the Agent assignment start date in local timeDateDimension
aaf_endTimeNUMBER(38,0)Foreign key to the Agent assignment end time in UTCTimeOfDayDimension
aaf_endDateNUMBER(38,0)Foreign key to the Agent assignment end date in UTCDateDimension
aaf_endTimeLocalNUMBER(38,0)Foreign key to the Agent assignment end time in local timeTimeOfDayDimension
aaf_endDateLocalNUMBER(38,0)Foreign key to the Agent assignment end date in local timeDateDimension
aaf_startTimestampTIMESTAMP_NTZ(9)Agent assignment start timestamp in UTC

aaf_startTimestampLocalTIMESTAMP_NTZ(9)Agent assignment start timestamp in local time

aaf_endTimestampTIMESTAMP_NTZ(9)Agent assignment end timestamp in UTC

aaf_endTimestampLocalTIMESTAMP_NTZ(9)Agent assignment end timestamp in local time

aaf_eomIdVARCHAR(128)ECS organization  foreign keyECSOrganizationMapping
aaf_eipIdVARCHAR(16)The account identifier

aaf_parentEipIdVARCHAR(16)The parent account identifier

aaf_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

aaf_updatedBOOLEANIndicates whether the record was updated

aaf_statusVARCHAR(16)







ECSSupervisorAssignmentFact





Column NameSnowflake TypeDescriptionReferencesComments
saf_idNUMBER(38,0)Primary key

saf_supervisorAssignmentsLogIdNUMBER(38,0)The supervisor assignment source identifier

saf_supervisorIdNUMBER(15,0)Supervisor Foreign key ECSUserDimension
saf_supervisorNameVARCHAR(128)Supervisor name

saf_businessProcessIdNUMBER(15,0)Business process foreign keyECSBusinessProcessDimension
saf_businessProcessNameVARCHAR(128)Business process name

saf_modifiedByVARCHAR(100)


saf_startTimeNUMBER(38,0)Foreign key to the Supervisor assignment start time in UTCTimeOfDayDimension
saf_startDateNUMBER(38,0)Foreign key to the Supervisor assignment start date in UTCDateDimension
saf_startTimeLocalNUMBER(38,0)Foreign key to the Supervisor assignment start time in local timeTimeOfDayDimension
saf_startDateLocalNUMBER(38,0)Foreign key to the Supervisor assignment start date in local timeDateDimension
saf_endTimeNUMBER(38,0)Foreign key to the Supervisor assignment end time in UTCTimeOfDayDimension
saf_endDateNUMBER(38,0)Foreign key to the Supervisor assignment date time in UTCDateDimension
saf_endTimeLocalNUMBER(38,0)Foreign key to the Supervisor assignment end time in local timeTimeOfDayDimension
saf_endDateLocalNUMBER(38,0)Foreign key to the Supervisor assignment end date in local timeDateDimension
saf_startTimestampTIMESTAMP_NTZ(9)Supervisor assignment start timestamp in UTC

saf_startTimestampLocalTIMESTAMP_NTZ(9)Supervisor assignment start timestamp in local time

saf_endTimestampTIMESTAMP_NTZ(9)Supervisor assignment end timestamp in UTC

saf_endTimestampLocalTIMESTAMP_NTZ(9)Supervisor assignment end timestamp in local time

saf_eomIdNUMBER(38,0)ECS organization  foreign keyECSOrganizationMapping
saf_eipIdVARCHAR(16)The account identifier

saf_parentEipIdVARCHAR(16)The parent account identifier

saf_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record updated timestamp 

saf_updatedBOOLEANIndicates whether the record was updated

saf_statusVARCHAR(16)







ECSCallbackFact





Column NameSnowflake TypeDescriptionReferencesComments
ecbf_idNUMBER(38,0)Primary key

ecbf_callbackIdNUMBER(38,0)The callback source identifier

ecbf_interactionGUIDIDVARCHAR(36)Interaction GUID identifier

ecbf_destinationVARCHAR(16777216)Destination

ecbf_campaignIdNUMBER(15,0)Campaign foreign key 

ecbf_campaignNameVARCHAR(100Campaign name

ecbf_completedInteractionIdNUMBER(38,0)The completed interaction identifier

ecbf_completedInteractionStartTimestampTIMESTAMP_NTZ(9)The completed interaction start time in UTC

ecbf_completedBusinessProcessIdNUMBER(15,0)Foreign key to the completed Business ProcessECSBusinessProcessDimension
ecbf_completedBusinessProcessNameVARCHAR(100)Complete Business Process name

ecbf_requestedBusinessProcessIdNUMBER(15,0)Foreign key to the requested business processECSBusinessProcessDimension
ecbf_requestedBusinessProcessNameVARCHAR(100)Requested business process name

ecbf_requestedCallbackCountNUMBER(38,0)Requested callback count

ecbf_customerCallsNUMBER(38,0)Customer calls

ecbf_customerDataVARCHAR(16777216)Customer data

ecbf_webCallbackBOOLEAN


ecbf_dispositionCodeVARCHAR(200)Disposition code

ecbf_dispositionCodeCategoryVARCHAR(128)Disposition code category

ecbf_dispositionCodeSubCategoryVARCHAR(128)Disposition code sub category

ecbf_firstRequestedInteractionIdNUMBER(38,0)First requests interaction identifier

ecbf_interactionCreationTypeNameVARCHAR(128)Interaction creation type name

ecbf_interactionResultNameVARCHAR(128)Interaction result name

ecbf_startTimeNUMBER(38,0)Foreign key to the Callback start time in UTCTimeOfDayDimension
ecbf_startDateNUMBER(38,0)Foreign key to the Callback start date in UTCDateDimension
ecbf_startTimeLocalNUMBER(38,0)Foreign key to the Callback start time in local TimeTimeOfDayDimension
ecbf_startDateLocalNUMBER(38,0)Foreign key to the Callback start date in local TimeDateDimension
ecbf_endTimeNUMBER(38,0)Foreign key to the Callback end time in UTCTimeOfDayDimension
ecbf_endDateNUMBER(38,0)Foreign key to the Callback end date in UTCDateDimension
ecbf_endTimeLocalNUMBER(38,0)Foreign key to the Callback end time in local timeTimeOfDayDimension
ecbf_endDateLocalNUMBER(38,0)Foreign key to the Callback end date in local timeDateDimension
ecbf_startTimestampTIMESTAMP_NTZ(9)Callback start time in UTC

ecbf_startTimestampLocalTIMESTAMP_NTZ(9)Callback start time in local time

ecbf_endTimestampTIMESTAMP_NTZ(9)Callback end time in UTC

ecbf_endTimestampLocalTIMESTAMP_NTZ(9)Callback end time in local time

ecbf_enterTimestampTIMESTAMP_NTZ(9)Callback enter time in UTC

ecbf_talkTimeNUMBER(38,0)Talk time in seconds

ecbf_numberOfAttemptsNUMBER(38,0)Number of Attempts

ecbf_lastAttemptAgentIdNUMBER(15,0)Foreign key to the last attempt's agentECSUserDimension
ecbf_lastAttemptDestinationVARCHAR(16777216)Last attempt's destination

ecbf_lastAttemptInteractionStateIdNUMBER(15,0)Foreign key to the last attempt's interaction stateECSInteractionStateDimension
ecbf_lastAttemptInteractionStateNameVARCHAR(128)Last attempt's interaction state name

ecbf_lastAttemptRemarksVARCHAR(16777216)Last attempt's remarks

ecbf_lastAttemptEndTimestampTIMESTAMP_NTZ(9)Last attempt end time in UTC

ecbf_lastAttemptAnswerTimestampTIMESTAMP_NTZ(9)Last attempt answer time in UTC

ecbf_lastAttemptTimestampTIMESTAMP_NTZ(9)Last attempt time in UTC

ecbf_lastAttemptTimestampLocalTIMESTAMP_NTZ(9)Last attempt time in local time

ecbf_lastInteractionStateIdNUMBER(15,0)Foreign key to the last interaction stateECSInteractionStateDimension
ecbf_lastInteractionStateNameVARCHAR(128)Last interaction state name

ecbf_routingClientNameVARCHAR(50)Routing client name

ecbf_routingInboundCampaignNameVARCHAR(50)Routing inbound campaign name

ecbf_routingProductNameVARCHAR(50)Routing product name

ecbf_routingProductTypeVARCHAR(50)Routing product type

ecbf_remarksVARCHAR(16777216)Callback remarks

ecbf_timeZoneVARCHAR(128)Foreign key to the time zoneTimeZoneDimension
ecbf_overflowedBOOLEAN


ecbf_queuedBOOLEAN


ecbf_oldCallbackExistedVARCHAR(36)Was interaction handled after a callback requested? if yes, then GUID identifier will be defined here

ecbf_eomIdNUMBER(38,0)Foreign key to ECS organization ECSOrganizationMapping
ecbf_eipIdVARCHAR(16)The account identifier

ecbf_parentEipIdVARCHAR(16)The parent account identifier

ecbf_statusVARCHAR(16)Callback status

ecbf_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record's last update timestamp

ecbf_updatedBOOLEANIndicates whether the record was updated






ECSCampaignFact





Column NameSnowflake TypeDescriptionReferencesComments
ecf_idNUMBER(38,0)Primary key

ecf_campaignInteractionIdNUMBER(38,0)Campaign interaction identifier

ecf_interactionGuidIdVARCHAR(64)The interaction GUID

ecf_destinationVARCHAR(16777216)Destination

ecf_businessProcessIdNUMBER(15,0)Foreign key to the business process

ecf_businessProcessNameVARCHAR(100)The business process name

ecf_campaignIdNUMBER(15,0)The campaign unique identifier from source

ecf_campaignNameVARCHAR(200)The campaign name

ecf_customerCallsNUMBER(38,0)Customer calls

ecf_customerDataVARCHAR(16777216)Customer data

ecf_talkTimeNUMBER(38,0)Talk time in seconds

ecf_wrapupTimeNUMBER(38,0)Wrap-up time in seconds

ecf_dispositionCodeVARCHAR(200)Disposition code

ecf_dispositionCodeCategoryVARCHAR(128)Disposition code category

ecf_dispositionCodeSubCategoryVARCHAR(128)Disposition code sub category

ecf_interactionCreationTypeNameVARCHAR(100)Interaction creation type name

ecf_interactionIdNUMBER(38,0)The interaction identifier

ecf_interactionResultNameVARCHAR(100)Interaction result name

ecf_lastAttemptAgentIdNUMBER(15,0)Foreign key to the last attempt's agentECSUserDimension
ecf_lastAttemptAnswerTimestampTIMESTAMP_NTZ(9)Last Attempt answer time in UTC

ecf_lastAttemptDestinationVARCHAR(16777216)Last attempt destination

ecf_lastAttemptEndTimestampTIMESTAMP_NTZ(9)Last attempt end time in UTC

ecf_lastAttemptInteractionStateIdNUMBER(15,0)Foreign key to the last attempt's interaction stateECSInteractionStateDimension
ecf_lastAttemptInteractionStateNameVARCHAR(100)Last attempt's interaction state name

ecf_lastAttemptRemarksVARCHAR(16777216)Last attempt's remarks

ecf_lastAttemptTimestampTIMESTAMP_NTZ(9)Last attempt time in UTC

ecf_lastAttemptTimestampLocalTIMESTAMP_NTZ(9)Last attempt time in local time

ecf_lastInteractionStateIdNUMBER(15,0)Foreign key to the last interaction stateECSInteractionStateDimension
ecf_lastInteractionStateNameVARCHAR(100)Last interaction state name

ecf_numberOfAttemptsNUMBER(38,0)Number of attempts

ecf_remarksVARCHAR(16777216)Remarks

ecf_routingClientNameVARCHAR(50)Routing client name

ecf_routingInboundCampaignNameVARCHAR(50)Routing inbound campaign name

ecf_routingProductNameVARCHAR(50)Routing product name

ecf_routingProductTypeVARCHAR(50)Routing product type

ecf_startTimeNUMBER(38,0)Foreign key to the Campaign start time in UTCTimeOfDayDimension
ecf_startDateNUMBER(38,0)Foreign key to the Campaign start date in UTCDateDimension
ecf_startTimeLocalNUMBER(38,0)Foreign key to the Campaign start time in local timeTimeOfDayDimension
ecf_startDateLocalNUMBER(38,0)Foreign key to the Campaign start date in local timeDateDimension
ecf_startTimestampTIMESTAMP_NTZ(9)Campaign start time in UTC

ecf_startTimestampLocalTIMESTAMP_NTZ(9)Campaign start time in local time

ecf_endtimeNUMBER(38,0)Foreign key to the Campaign end time in UTCTimeOfDayDimension
ecf_enddateNUMBER(38,0)Foreign key to the Campaign end date in UTCDateDimension
ecf_endTimeLocalNUMBER(38,0)Foreign key to the Campaign end time in local timeTimeOfDayDimension
ecf_endDateLocalNUMBER(38,0)Foreign key to the Campaign end date in local timeDateDimension
ecf_endTimestampTIMESTAMP_NTZ(9)Campaign end time in UTC

ecf_endTimestampLocalTIMESTAMP_NTZ(9)Campaign end time in local time

ecf_enterTimestampTIMESTAMP_NTZ(9)Campaign enter time in UTC

ecf_enterTimestampLocalTIMESTAMP_NTZ(9)Campaign enter time in local time

ecf_eipIdVARCHAR(16)The account identifier

ecf_parentEipIdVARCHAR(16)The parent account identifier

ecf_eomIdNUMBER(38,0)Foreign key to the ECS organizationECSOrganizationMapping
ecf_statusVARCHAR(16)Campaign status

ecf_timezoneVARCHAR(128)Foreign key to the time zoneTimeZoneDimension
ecf_overflowedBOOLEAN


ecf_queuedBOOLEAN


ecf_lastUpdatedTimestampTIMESTAMP_NTZ(9)The record's last update timestamp

ecf_updatedBOOLEANIndicates whether the record was updated






  • No labels