FO_ACTIVITY_VW(SQL View) |
Index Back |
---|---|
Activity team view for T&LActivity team view for use in Time and Labor product |
SELECT X.EMPLID , X.BUSINESS_UNIT_PC , X.PROJECT_ID , X.ACTIVITY_ID , X.EMPL_RCD , P.DESCR FROM PS_PROJ_ACTIVITY P , PS_FO_EMPL_XREF X WHERE X.BUSINESS_UNIT_PC = P.BUSINESS_UNIT AND X.PROJECT_ID = P.PROJECT_ID AND X.ACTIVITY_ID = P.ACTIVITY_ID AND P.EFF_STATUS = 'A' AND (P.ENFORCE IN ('N','E') OR EXISTS ( SELECT 1 FROM PS_PC_ACT_TEAM_VW TEAM WHERE X.BUSINESS_UNIT_PC = TEAM.BUSINESS_UNIT AND X.PROJECT_ID = TEAM.PROJECT_ID AND X.ACTIVITY_ID = TEAM.ACTIVITY_ID AND X.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 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
5 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |