HRRC_JOB_VW

(SQL View)
Index Back

SELECT EMPLID , EMPL_RCD , EFFDT , EFFSEQ , BUSINESS_UNIT , COMPANY , SETID_LOCATION , LOCATION , SETID_DEPT , DEPTID , SETID_JOBCODE , JOBCODE FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_JOB A1 WHERE A1.EMPLID = A.EMPLID AND A1.EMPL_RCD = A.EMPL_RCD AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A1.EFFSEQ) FROM PS_JOB A1 WHERE A1.EMPLID = A.EMPLID AND A1.EMPL_RCD = A.EMPL_RCD AND A1.EFFDT = A.EFFDT) AND A.HR_STATUS = 'A'

# 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 Record
3 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
6 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
7 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
8 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
9 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
10 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
11 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
12 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code