RB_JOBCODE_VW

(SQL View)
Index Back

Job Code View

Job Code View. Used in Person SES

SELECT A.BO_ID , C.JOBCODE ,D.ROLE_TYPE_ID , C.DESCR FROM PS_RD_PERSON A , PS_RC_WRKR_JOB B , PS_JOBCODE_TBL C ,PS_RD_WRKR_ASGN D WHERE A.PERSON_ID = B.PERSON_ID AND B.SETID_JOBCODE = C.SETID AND B.JOBCODE = C.JOBCODE AND D.BO_ID=A.BO_ID AND D.PERSON_ID=A.PERSON_ID AND d.primary_ind='Y' AND C.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_JOBCODE_TBL A1 WHERE C.SETID = A1.SETID AND C.JOBCODE = A1.JOBCODE AND A1.EFFDT <= %CurrentDateIn AND A1.EFF_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 JOBCODE Character(15) VARCHAR2(15) NOT NULL Job Code or Job Title.
3 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
4 JOBCODE_DESCR Character(30) VARCHAR2(30) NOT NULL Job Code Description field used in HD_360_RESPONSE_SYNC message.