ESP_JOBCODE_VW

(SQL View)
Index Back

Employee JobCode VW ESP


SELECT A.EMPLID , A.EFFDT , B.SETID , A.JOBCODE , B.DESCR , B.CNO_ESP FROM PS_JOB A , PS_JOBCODE_TBL B WHERE A.SETID_JOBCODE = B.SETID AND A.JOBCODE = B.JOBCODE AND B.EFFDT = ( SELECT MAX (ED.EFFDT) FROM PS_JOBCODE_TBL ED WHERE A.SETID_JOBCODE = ED.SETID AND A.JOBCODE = ED.JOBCODE AND ED.EFFDT <= A.EFFDT)

  • Parent record: EMPL_CTG_L2
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    3 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_HR.SETID

    Prompt Table: SETID_TBL

    4 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 CNO_ESP Character(4) VARCHAR2(4) NOT NULL Occupational Code

    Prompt Table: CNO4_ESPVW