PROJ_TEAM_TL_VW(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 EMPLID , BUSINESS_UNIT , PROJECT_ID , DESCR FROM PS_PERSON E , PS_PROJECT P WHERE P.EFF_STATUS = 'A' AND ( P.ENFORCE IN ('N','E') OR EXISTS ( SELECT 'X' FROM PS_PROJECT_TEAM_VW TEAM WHERE P.BUSINESS_UNIT = TEAM.BUSINESS_UNIT AND P.PROJECT_ID = TEAM.PROJECT_ID AND E.EMPLID = TEAM.TEAM_MEMBER ) ) |
# | 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 |