EP_CR_JOBCD_VW(SQL View) |
Index Back |
---|---|
Create Baseline Jobcode View |
SELECT J.EMPLID ,J.EMPL_RCD ,J.EFFDT ,J.EFFSEQ ,J.JOBCODE ,JT.DESCR ,J.HR_STATUS FROM PS_JOB J , PS_JOBCODE_TBL JT WHERE J.SETID_JOBCODE = JT.SETID AND J.JOBCODE = JT.JOBCODE AND JT.EFFDT= ( SELECT MAX(JT2.EFFDT) FROM PS_JOBCODE_TBL JT2 WHERE JT2.SETID=JT.SETID AND JT2.JOBCODE=JT.JOBCODE AND JT2.EFFDT<=J.EFFDT) AND JT.EFF_STATUS = 'A' AND J.PER_ORG IN ('EMP', 'CWR') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
5 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
6 | JOB_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Description |
7 | HR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
HR Status
A=Active I=Inactive Default Value: A |