public.vwadherencedaydata

public.vwadherencedaydata

Description

Adherence Summarised Daily Data

Table Definition

CREATE VIEW vwadherencedaydata AS (
 SELECT ad.userid,
    ad.startdate,
    ad.startdateltc,
    ad.daystartoffsetsecs,
    ((ad.daystartoffsetsecs)::numeric / 86400.00) AS daystartoffsetsecsday,
    ad.adherenceperc,
    ad.conformperc,
    ad.impact,
    ad.adherenceschedulesecs,
    ((ad.adherenceschedulesecs)::numeric / 86400.00) AS adherenceschedulesecsday,
    ad.conformanceschedulesecs,
    ((ad.conformanceschedulesecs)::numeric / 86400.00) AS conformanceschedulesecsday,
    ad.conformanceactualsecs,
    ((ad.conformanceactualsecs)::numeric / 86400.00) AS conformanceactualsecsday,
    ad.exceptioncount,
    ad.exceptiondurationsecs,
    ((ad.exceptiondurationsecs)::numeric / 86400.00) AS exceptiondurationsecsday,
    ad.impactseconds,
    ((ad.impactseconds)::numeric / 86400.00) AS impactsecondsday,
    ad.schedulelengthsecs,
    ((ad.schedulelengthsecs)::numeric / 86400.00) AS schedulelengthsecsday,
    ad.actuallengthsecs,
    ((ad.actuallengthsecs)::numeric / 86400.00) AS actuallengthsecsday,
    ud.name AS agentname,
    ud.managerid,
    ud.managername
   FROM (adherencedaydata ad
     LEFT JOIN vwuserdetail ud ON (((ud.id)::text = (ad.userid)::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
userid varchar(50) true User GUID
startdate timestamp without time zone true Start Date (UTC)
startdateltc timestamp without time zone true Start Date (LTC)
daystartoffsetsecs integer true Start of Day Offset
daystartoffsetsecsday numeric true Start of Day Offset in seconds
adherenceperc numeric(20,2) true Adherence Percentage
conformperc numeric(20,2) true Conformance Percentage
impact varchar(50) true Impact
adherenceschedulesecs integer true The Total Adherance Time that adherence is measured against
adherenceschedulesecsday numeric true The Total Adherance Time that adherence is measured against in seconds
conformanceschedulesecs integer true The Total Conformance Time that adherence is measured against
conformanceschedulesecsday numeric true The Total Conformance Time that adherence is measured against in seconds
conformanceactualsecs integer true Total Time Agent in Conformance
conformanceactualsecsday numeric true Total Time Agent in Conformance
exceptioncount integer true Total Exception Count
exceptiondurationsecs integer true Impacted Seconds
exceptiondurationsecsday numeric true Exception Duration Seconds
impactseconds integer true Impacted Seconds
impactsecondsday numeric true
schedulelengthsecs integer true Total Scheduled Time (Seconds)
schedulelengthsecsday numeric true Total Scheduled Time (Seconds)
actuallengthsecs integer true Total Actual Scheduled Time length
actuallengthsecsday numeric true Total Actual Scheduled Time length in seconds
agentname varchar(200) true Agent Name
managerid varchar(50) true Manager GUID
managername varchar(200) true Manager Nam

Referenced Tables

Name Columns Comment Type
public.adherencedaydata 17 Adherence Summarised Daily Data BASE TABLE
public.vwuserdetail 17 See UserDetail: User Description in detail VIEW

    • Related Articles

    • public.participantattributesdynamic

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false conversationid varchar(50) false conversationstartdate timestamp without time zone false conversationstartdateltc timestamp without time zone true ...
    • public.evalquestiondata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(50) false evaluationid varchar(50) false evaluationformid varchar(50) false questiongroupid varchar(50) true questionid varchar(50) true answerid varchar(50) true ...
    • public.userpresencedetaileddata

      Description User Presence Detailed Data Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false Primary Key userid varchar(50) true Agent GUID starttime timestamp without time zone false Start Time (UTC) starttimeltc ...
    • public.userinteractionpresencedetaileddata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false userid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true endtime timestamp without time zone ...
    • public.userpresencedata

      Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(255) false id varchar(50) true userid varchar(50) true startdate timestamp without time zone false startdateltc timestamp without time zone true timetype ...