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.canuseforscheduling,
    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
canuseforscheduling boolean true
updated timestamp without time zone true

Referenced Tables

Name Columns Comment Type
public.offeredforecastdata 13 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.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 ...