TV_DEPT_SRCH_VW(SQL View) |
Index Back |
---|---|
EMP PROF incl depts for travlThis represents the list of Departments that belong within the travel_partner, travel_group, BU, criteria for the Empl Profile extract. |
SELECT A.TRAVEL_PARTNER , A.TRAVEL_GROUP , A.BUSINESS_UNIT_GL , B.DEPTID , B.DESCR , B.MANAGER_NAME FROM PS_TV_GRP_BU A , PS_TV_DEPT_BU_VW B WHERE NOT EXISTS ( SELECT 'X' FROM PS_TV_GRP_DEPT X WHERE X.DEPTID = B.DEPTID AND X.BUSINESS_UNIT_GL = B.BUSINESS_UNIT_GL AND X.BUSINESS_UNIT_GL = A.BUSINESS_UNIT_GL AND X.TRAVEL_GROUP = A.TRAVEL_GROUP) AND A.BUSINESS_UNIT_GL = B.BUSINESS_UNIT_GL |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | MANAGER_NAME | Character(30) | VARCHAR2(30) NOT NULL | Identifies the name of the manager of a specified department. |