public.vwtimeoffdata

public.vwtimeoffdata

Description

See TimeOffData - Expands all the GUIDs with their lookups

Table Definition

CREATE VIEW vwtimeoffdata AS (
 SELECT td.userid,
    td.businessunitdate,
    td.length,
    td.description,
    td.activitycode,
    td.paid,
    td.timeoffrequestid,
    ud.name AS agentname,
    ud.managerid,
    ud.managername,
    td.isfulldayrequest
   FROM (timeoffdata td
     LEFT JOIN vwuserdetail ud ON (((ud.id)::text = (td.userid)::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
userid varchar(50) true User GUID
businessunitdate timestamp without time zone true Business Unit Date
length integer true Length of Time Off
description varchar(200) true Description of Time Off
activitycode varchar(50) true Activity Code
paid bit(1) true Paid Time Off
timeoffrequestid varchar(50) true Time Off Request GUID
agentname varchar(200) true Agent Name
managerid varchar(50) true Manager GUID
managername varchar(200) true Manager Name
isfulldayrequest bit(1) true

Referenced Tables

Name Columns Comment Type
public.timeoffdata 10 BASE TABLE
public.vwuserdetail 17 See UserDetail: User Description in detail VIEW

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