HR_CP_EDUC_VW(SQL View) |
Index Back |
---|---|
Employee Resume EducationThis view is created from the HR_CP_ACCOMP_VW and ACCOMP_TBL tables and is used for the Education grid in the Employee Self-Service Internal Resume. |
SELECT DISTINCT A.EMPLID ,%Substring(B.JPM_CAT_ITEM_ID,1,8) , B.EFFDT ,B.MAJOR_CODE , %Substring(C.JPM_DESCR90,1,30) , B.SCHOOL_DESCR FROM PS_HR_CP_CAT_VW A , PS_JPM_JP_ITEMS B , PS_JPM_CAT_ITEMS C WHERE A.JPM_PROFILE_ID = B.JPM_PROFILE_ID AND A.JPM_CAT_TYPE = B.JPM_CAT_TYPE AND A.JPM_CAT_TYPE = C.JPM_CAT_TYPE AND B.JPM_CAT_ITEM_ID = C.JPM_CAT_ITEM_ID AND A.JPM_CAT_TYPE = 'DEG' AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_JPM_JP_ITEMS C1 WHERE B.JPM_PROFILE_ID = C1.JPM_PROFILE_ID AND B.JPM_CAT_TYPE = C1.JPM_CAT_TYPE AND B.JPM_CAT_ITEM_ID = C1.JPM_CAT_ITEM_ID AND B.JPM_CAT_ITEM_QUAL = C1.JPM_CAT_ITEM_QUAL AND B.JPM_CAT_ITEM_QUAL2 = C1.JPM_CAT_ITEM_QUAL2 AND C1.EFFDT <= %CurrentDateIn) AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_JPM_CAT_ITEMS D WHERE C.JPM_CAT_TYPE = D.JPM_CAT_TYPE AND C.JPM_CAT_ITEM_ID = D.JPM_CAT_ITEM_ID AND D.EFFDT <=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | JPM_CAT_ITEM_ID | Character(12) | VARCHAR2(12) NOT NULL | Catalog Item Id. Identifies a unique catalog item defintion within a catalog type. |
3 | DT_ISSUED | Date(10) | DATE | Issue Date |
4 | MAJOR_CODE | Character(10) | VARCHAR2(10) NOT NULL | Major Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | SCHOOL_DESCR | Character(100) | VARCHAR2(100) NOT NULL | Name of the school |