FO_ACTIVITY_LVW(SQL View) |
Index Back |
---|---|
Rel lang for FO_ACTIVITY_VWActivity team language view for use in Time and Labor product |
SELECT X.EMPLID , X.BUSINESS_UNIT_PC , X.PROJECT_ID , X.ACTIVITY_ID , C.LANGUAGE_CD , P.DESCR FROM PS_PROJ_ACTIVITY P , PS_PROJ_ACTIVTY_LG C , PS_FO_EMPL_XREF X WHERE P.EFF_STATUS = 'A' AND %Join(COMMON_KEYS, PROJ_ACTIVITY P, PROJ_ACTIVTY_LG C) AND X.BUSINESS_UNIT_PC = P.BUSINESS_UNIT AND X.PROJECT_ID = P.PROJECT_ID AND X.ACTIVITY_ID = P.ACTIVITY_ID AND (P.ENFORCE IN ('N','E') OR EXISTS ( SELECT 'X' FROM PS_PC_ACT_TEAM_VW TEAM WHERE P.BUSINESS_UNIT = TEAM.BUSINESS_UNIT AND P.PROJECT_ID = TEAM.PROJECT_ID AND P.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 | Project Costing 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |