POSN_INCUMB_FD(SQL View) |
Index Back |
|---|---|
Posn Incumbents-Wrk ScrollPOSN_INCUMB_WS is a view which retrieves the current incumbents of a position by EmplID. This view is used in a work scroll on the Position Data 1 panel to support the cross-update to Job and Employment for current incumbents. |
| SELECT A.EMPLID ,A.EMPL_RCD ,B.NAME ,A.EFFDT ,A.POSITION_NBR FROM PS_JOB A , PS_PERSON_NAME B WHERE A.HR_STATUS = 'A' 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) AND B.EMPLID = A.EMPLID |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(11) | VARCHAR2(11) NOT NULL | Employee ID | |
| 2 | Number(3,0) | SMALLINT NOT NULL | Empl Record | |
| 3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
| 4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
| 5 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |