HRS_JOBCODE_I5(SQL View) |
Index Back |
---|---|
Job Codes Interface ViewJob Codes Interface View |
SELECT A.SETID , A.JOBCODE , A.EFFDT , A.EFF_STATUS , A.JOB_FAMILY , A.JOB_PROFILE_ID , A.DESCR , A.DESCRSHORT FROM PS_HCR_JOBCODE_I A WHERE ((%EffdtCheck(HCR_JOBCODE_I, A, %CurrentDateIn) AND A.EFF_STATUS = 'A') OR (A.EFFDT=( SELECT MAX(EFFDT) FROM PS_HCR_JOBCODE_I E WHERE A.SETID=E.SETID AND A.JOBCODE=E.JOBCODE AND E.EFFDT > %CurrentDateIn AND E.EFF_STATUS = 'A') AND NOT EXISTS ( SELECT 'Y' FROM PS_HCR_JOBCODE_I F WHERE A.SETID=F.SETID AND A.JOBCODE=F.JOBCODE AND %EffdtCheck(HCR_JOBCODE_I, F, %CurrentDateIn) AND F.EFF_STATUS = 'A'))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_HR.SETID Prompt Table: SET_VLD_HR_02 |
2 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | JOB_FAMILY | Character(6) | VARCHAR2(6) NOT NULL | Job Family |
6 | JOB_PROFILE_ID | Character(12) | VARCHAR2(12) NOT NULL | Job Profile ID |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |