public.vwtimeoffrequestdata
Description
See TimeOffRequestData - Expands all the GUIDs with their lookups
Table Definition
CREATE VIEW vwtimeoffrequestdata AS (
SELECT tr.id,
tr.userid,
tr.isfulldayrequest,
tr.status,
tr.startdate,
tr.notes,
tr.timeoffduration,
tr.submittedbyid,
tr.submittedate,
tr.reviewedbyid,
tr.revieweddate,
tr.modifiedbyid,
tr.modifieddate,
ud.name AS agentname,
ud.managerid,
ud.managername
FROM (timeoffrequestdata tr
LEFT JOIN vwuserdetail ud ON (((ud.id)::text = (tr.userid)::text)))
)
Columns
id |
varchar(50) |
|
true |
|
|
Time Off Request GUID |
userid |
varchar(50) |
|
true |
|
|
User GUID |
isfulldayrequest |
bit(1) |
|
true |
|
|
Full Day Request |
status |
varchar(50) |
|
true |
|
|
Request Status |
startdate |
timestamp without time zone |
|
true |
|
|
Start Date |
notes |
varchar(400) |
|
true |
|
|
Notes/Comments |
timeoffduration |
integer |
|
true |
|
|
Time Off Duration |
submittedbyid |
varchar(50) |
|
true |
|
|
Submitted By |
submittedate |
timestamp without time zone |
|
true |
|
|
Submission Date |
reviewedbyid |
varchar(50) |
|
true |
|
|
Reviewed By |
revieweddate |
timestamp without time zone |
|
true |
|
|
Review Date |
modifiedbyid |
varchar(50) |
|
true |
|
|
Last Modified By |
modifieddate |
timestamp without time zone |
|
true |
|
|
Last Modified Date |
agentname |
varchar(200) |
|
true |
|
|
Agent Name |
managerid |
varchar(50) |
|
true |
|
|
Manager GUID |
managername |
varchar(200) |
|
true |
|
|
Manager Name |
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.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.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.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 ...