TL_PROJ_TM_DVW(SQL View) |
Index Back |
---|---|
TL Project Team Dynamic ViewThis is based on the PROJ_TEAM_DVW and was created because batch processing requires a view vs. a dynamic view. It also changes the field Business Unit into the Business Unit PC. |
SELECT A.EMPLID , B.BUSINESS_UNIT , B.PROJECT_ID , B.DESCR FROM PS_PROJ_EMPLID_VW A , PS_PROJECT B WHERE (EXISTS ( SELECT 'X' FROM PS_PROJECT_TEAM C WHERE B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.PROJECT_ID = C.PROJECT_ID AND C.TEAM_MEMBER = A.EMPLID) OR B.ENFORCE IN ('N', 'E') ) AND B.EFF_STATUS='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
3 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project/Grant |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |