HR_POSN_INCUMB(SQL View) |
Index Back |
---|---|
Posn IncumbentsPosn Incumbents - Used for Succession Planning. |
SELECT A.POSITION_NBR , A.EMPLID , A.EFFDT , B.NAME , A.COMPANY , A.BUSINESS_UNIT , A.DEPTID FROM PS_JOB A , PS_PERSON_NAME B WHERE A.EMPLID = B.EMPLID AND A.EMPL_STATUS IN('A','P','L','S','W') AND A.POSITION_NBR <> ' ' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT = A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | HR_SUCC_PLAN_CTL | Character(11) | VARCHAR2(11) NOT NULL |
Succession Plan Control Value
Default Value: DERIVED_HR_SUCC.HR_SUCC_PLAN_CTL |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON_NAME |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |