public.vwheadcountforecast
Description
See HeadCountForecast - Expands all the GUIDs with their lookups
Table Definition
CREATE VIEW vwheadcountforecast AS (
SELECT hcf.businessunitid,
bu.name AS businessunitname,
hcf.planninggroup AS planninggroup_id,
pg.name AS planninggroup_name,
pgq.name AS planninggroup_queuename,
hcf.scheduleid,
sd.shorttermforecastid,
sd.description AS scheduledesc,
sd.published AS sched_published,
hcf.weekdate,
hcf.startdate,
hcf.startdateltc,
hcf.requiredperinterval,
hcf.requiredwithoutshrinkageperinterval,
hcf.updated
FROM ((((headcountforecastdata hcf
LEFT JOIN budetails bu ON (((hcf.businessunitid)::text = (bu.id)::text)))
LEFT JOIN scheduledetails sd ON (((hcf.scheduleid)::text = (sd.scheduleid)::text)))
LEFT JOIN planninggroupdetails pg ON (((hcf.planninggroup)::text = (pg.id)::text)))
LEFT JOIN queuedetails pgq ON (((pg.queueid)::text = (pgq.id)::text)))
)
Columns
businessunitid |
varchar(50) |
|
true |
|
|
Business Unit GUID |
businessunitname |
varchar(50) |
|
true |
|
|
Business Unit Name |
planninggroup_id |
varchar(50) |
|
true |
|
|
Planning Group GUID |
planninggroup_name |
varchar(100) |
|
true |
|
|
Planning Group Name |
planninggroup_queuename |
varchar(255) |
|
true |
|
|
Planning Group Queue Name |
scheduleid |
varchar(50) |
|
true |
|
|
Schedule GUID |
shorttermforecastid |
varchar(50) |
|
true |
|
|
Short-Term Forecast GUID |
scheduledesc |
varchar(400) |
|
true |
|
|
Schedule Description |
sched_published |
bit(1) |
|
true |
|
|
Is Schedule Published? |
weekdate |
timestamp without time zone |
|
true |
|
|
Week Date |
startdate |
timestamp without time zone |
|
true |
|
|
Start Date (UTC) |
startdateltc |
timestamp without time zone |
|
true |
|
|
Start Date (LTC) |
requiredperinterval |
numeric(20,2) |
|
true |
|
|
Required Per Interval |
requiredwithoutshrinkageperinterval |
numeric(20,2) |
|
true |
|
|
Required Without Shrinkage Per Interval |
updated |
timestamp without time zone |
|
true |
|
|
Last Updated |
Referenced Tables
Related Articles
public.mvwconvvoiceoverviewdata
Description Columns Name Type Default Nullable Children Parents Comment conversationid varchar(50) false sentimentscore numeric(20,2) true sentimenttrend numeric(20,2) true agentdurationpercentage numeric(20,2) true customerdurationpercentage ...
public.mvwconvvoicesentimentdetaildata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(100) false conversationid varchar(50) true starttime timestamp without time zone true starttimeltc timestamp without time zone true duration numeric(20,2) true ...
public.vwteammemberdata
Description Team Member Data View Table Definition CREATE VIEW vwteammemberdata AS ( SELECT tm.userid, ud.name AS "Agent Name", td.name AS "Team Name" FROM ((teammemberdata tm LEFT JOIN vwuserdetail ud ON (((tm.userid)::text = (ud.id)::text))) LEFT ...
public.jobminimumdefinition
Description Columns Name Type Default Nullable Children Parents Comment jobid integer nextval(‘jobminimumdefinition_jobid_seq’::regclass) false jobname varchar(255) true maxsyncspan varchar(50) true lookbackspan varchar(50) true Constraints Name Type ...
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 ...