TV_TP_TVLR_VW

(SQL View)
Index Back

EMP PROF Travelers to incld

This represents the list of distinct employee's that belong within the travel_partner, travel_group, BU, and Depts criteria for the Empl Profile extract.

SELECT DISTINCT B.TRAVEL_PARTNER , A.EMPLID FROM PS_TV_EE_JOB_DT_VW A , PS_TV_DEPT_INCL_VW B WHERE NOT EXISTS ( SELECT 'X' FROM PS_TV_GRP_TRVLR X WHERE X.EMPLID = A.EMPLID AND X.DEPTID = A.DEPTID AND X.BUSINESS_UNIT_GL = A.BUSINESS_UNIT_GL AND X.TRAVEL_PARTNER = B.TRAVEL_PARTNER AND X.TRAVEL_GROUP = B.TRAVEL_GROUP) AND A.BUSINESS_UNIT_GL = B.BUSINESS_UNIT_GL AND A.DEPTID = B.DEPTID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TRAVEL_PARTNER Character(18) VARCHAR2(18) NOT NULL Travel Partner
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID