JOB_POSITION_VW(SQL View) |
Index Back |
---|---|
Job - Position viewThis view selects from Job and Position Data the current position number and Position Pool Id. |
SELECT JOB.SETID_DEPT ,JOB.EMPLID ,JOB.EMPL_RCD ,JOB.EFFDT ,JOB.EFFSEQ ,JOB.POSITION_NBR ,POS.POSITION_POOL_ID FROM PS_JOB JOB ,PS_POSITION_DATA POS WHERE JOB.POSITION_NBR = POS.POSITION_NBR AND POS.EFFDT = (SELECT MAX(POS1.EFFDT) FROM PS_POSITION_DATA POS1 WHERE POS1.POSITION_NBR = POS.POSITION_NBR AND POS1.EFFDT <= JOB.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
6 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |
7 | POSITION_POOL_ID | Character(3) | VARCHAR2(3) NOT NULL | Position Pool ID |