public.vwpresencedetails

public.vwpresencedetails

Description

See PresenceDetails: Presence Code Lookup Data

Table Definition

CREATE VIEW vwpresencedetails AS (
 SELECT pd.id,
    pd.systempresence,
    pd.orgpresence,
    pd.deactivated,
    pd.type,
        CASE
            WHEN ((pd.divisionid)::text = '*'::text) THEN dd.id
            ELSE pd.divisionid
        END AS divisionid
   FROM (presencedetails pd
     LEFT JOIN divisiondetails dd ON (((pd.divisionid)::text = '*'::text)))
)

Columns

Name Type Default Nullable Children Parents Comment
id varchar(50) true Primary Key
systempresence varchar(255) true Presence System Presence Name
orgpresence varchar(255) true Presence Organisation Presence Name
deactivated bit(1) true Presence Active ?
type varchar(50) true Presence Type
divisionid varchar(50) true Presence Division ID

Referenced Tables

Name Columns Comment Type
public.presencedetails 7 Persence Code Lookup Data BASE TABLE
public.divisiondetails 4 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 ...