SP_JOBCODE_VW1(SQL View) |
Index Back |
---|---|
Jobcode view |
SELECT DISTINCT A.SETID , A.JOBCODE , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT FROM PS_JOBCODE_TBL A , PS_SET_CNTRL_GROUP S WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_JOBCODE_TBL B WHERE A.SETID = B.SETID AND A.JOBCODE = B.JOBCODE AND B.EFFDT <= %CurrentDateIn) AND S.REC_GROUP_ID = 'FS_27' AND A.SETID = S.SETID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
2 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |