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.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.convvoicetopicdetaildata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(100) false conversationid varchar(50) true starttime timestamp without time zone false starttimeltc timestamp without time zone true participant varchar(50) 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.evaldata
Description Columns Name Type Default Nullable Children Parents Comment keyid varchar(100) false conversationid varchar(50) false evaluationid varchar(50) false calibrationid varchar(50) true evaluationformid varchar(50) true evaluatorid varchar(50) ...
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 ...