See Evaluation Data
CREATE VIEW vwevaldata AS (
SELECT DISTINCT ed.keyid,
ed.agenthasread,
ed.assigneddate,
ed.assigneddateltc,
ed.conversationid,
ed.evaluationformid,
ed.evaluationid,
ed.evaluatorid,
ed.releasedate,
ed.releasedateltc,
ed.status,
ed.totalcriticalscore,
ed.totalnoncriticalscore,
ed.totalscore,
ed.calibrationid,
ed.averagescore,
ed.highscore,
ed.lowscore,
ed.updated,
ed.userid,
evdet.evaluationname,
ud.managerid,
ud.managername,
ud.name AS agentname
FROM ((evaldata ed
LEFT JOIN vwuserdetail ud ON (((ud.id)::text = (ed.userid)::text)))
LEFT JOIN evaldetails evdet ON (((evdet.evaluationid)::text = (ed.evaluationformid)::text)))
)
Name | Type | Default | Nullable | Children | Parents | Comment |
---|---|---|---|---|---|---|
keyid | varchar(100) | true | Key ID | |||
agenthasread | bit(1) | true | Agent Has Read | |||
assigneddate | timestamp without time zone | true | Assigned Date (UTC) | |||
assigneddateltc | timestamp without time zone | true | Assigned Date (LTC) | |||
conversationid | varchar(50) | true | Conversation GUID | |||
evaluationformid | varchar(50) | true | Evaluation Form GUID | |||
evaluationid | varchar(50) | true | Evaluation GUID | |||
evaluatorid | varchar(50) | true | Evaluator GUID | |||
releasedate | timestamp without time zone | true | Release Date(UTC) | |||
releasedateltc | timestamp without time zone | true | Release Date (LTC) | |||
status | varchar(20) | true | Status | |||
totalcriticalscore | numeric(20,2) | true | Total Critical Score | |||
totalnoncriticalscore | numeric(20,2) | true | Total Non-Critical Score | |||
totalscore | numeric(20,2) | true | Total Score | |||
calibrationid | varchar(50) | true | Calibration GUID | |||
averagescore | numeric(20,2) | true | Average Score | |||
highscore | numeric(20,2) | true | High Score | |||
lowscore | numeric(20,2) | true | Low Score | |||
updated | timestamp without time zone | true | Updated | |||
userid | varchar(50) | true | User GUID | |||
evaluationname | varchar(200) | true | Evaluation Name | |||
managerid | varchar(50) | true | Manager GUID | |||
managername | varchar(200) | true | Manager Name | |||
agentname | varchar(200) | true | Agent Name |
Name | Columns | Comment | Type |
---|---|---|---|
public.evaldata | 20 | BASE TABLE | |
public.vwuserdetail | 17 | See UserDetail: User Description in detail | VIEW |
public.evaldetails | 22 | Evaluation Lookup Data | BASE TABLE |