TL_JOB_DESC_VW

(SQL View)
Index Back

Current Job Descr View

View of the descriptions from JOBCODE_TBL which retrieves only the active, current effective-dated records.

SELECT A.SETID ,A.JOBCODE ,A.EFFDT ,A.DESCR ,A.DESCRSHORT FROM PS_JOBCODE_TBL A WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_JOBCODE_TBL B WHERE B.JOBCODE = A.JOBCODE AND B.EFFDT <= %CurrentDateIn AND A.SETID = B.SETID)

  • Related Language Record: TL_JOB_DESC_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
    3 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description