TV_TVLR_INCL_VW(SQL View) |
Index Back |
---|---|
EMP PROF Travelers to incldThis represents the list of employee's that belong within the travel_partner, travel_group, BU, and Depts criteria for the Empl Profile extract. |
SELECT B.TRAVEL_PARTNER , B.TRAVEL_GROUP , B.BUSINESS_UNIT_GL , B.DEPTID , 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 | TRAVEL_GROUP | Character(8) | VARCHAR2(8) NOT NULL | Travel Group |
3 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
4 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |