HRS_POSN_INCB_I(SQL View) |
Index Back |
---|---|
Posn Incumbents - Emplid OnlyHRS_POSN_INCB_I is a view which retrieves the emplid of the current incumbent by position number. It is used in the Position Management application when the incumbent is brought into panels via related-display to Position_Nbr. |
SELECT A.POSITION_NBR , A.EFFDT , A.EMPLID FROM PS_HRS_JOB_I2 A WHERE A.EMPL_STATUS IN('A','P','L','S') AND A.POSITION_NBR <> ' ' AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_HRS_JOB_I2 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 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL |
Position Number
Prompt Table: POSITION_DATA |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |