public.vwofferedforecast

public.vwofferedforecast

Description

Table Definition

CREATE VIEW vwofferedforecast AS (
 SELECT DISTINCT ofd.keyid,
    ofd.businessunitid,
    bu.name AS "BUSINESSUNITNAME",
    ofd.scheduleid,
    scd.description AS "SCHEDULEDESC",
    ofd.planninggroup AS "PLANNINGGROUPID",
    pgd.name AS "PLANNINGGROUPNAME",
    ofd.shorttermforecastid,
    ofd.startdate,
    ofd.startdateltc,
    ofd.weekdate,
    ofd.week,
    ofd.avghandleperinterval,
    ofd.offeredperinterval,
    ofd.updated
   FROM (((offeredforecastdata ofd
     LEFT JOIN vwbudetails bu ON (((bu.id)::text = (ofd.businessunitid)::text)))
     LEFT JOIN scheduledetails scd ON (((scd.scheduleid)::text = (ofd.scheduleid)::text)))
     LEFT JOIN planninggroupdetails pgd ON (((pgd.id)::text = (ofd.planninggroup)::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
keyid varchar(150) true
businessunitid varchar(50) true
BUSINESSUNITNAME varchar(50) true
scheduleid varchar(50) true
SCHEDULEDESC varchar(400) true
PLANNINGGROUPID varchar(50) true
PLANNINGGROUPNAME varchar(100) true
shorttermforecastid varchar(50) true
startdate timestamp without time zone true
startdateltc timestamp without time zone true
weekdate date true
week bigint true
avghandleperinterval numeric(20,2) true
offeredperinterval numeric(20,2) true
updated timestamp without time zone true

Referenced Tables

Name Columns Comment Type
public.offeredforecastdata 12 BASE TABLE
public.vwbudetails 3 See budetails table VIEW
public.scheduledetails 12 Schedule Details Lookup Data BASE TABLE
public.planninggroupdetails 11 BASE TABLE

    • 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 ...