TL_JOBCODE2_VW

(SQL View)
Index Back

Job Codes TL Prompt View

12/01/19999 This view is used for Jobcode prompting by Time and Labor, used in creating TL Job Code Value list

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

  • Related Language Record: TL_JOBCD_VW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID

    Default Value: OPR_DEF_TBL_HR.SETID

    Prompt Table: SETID_TBL

    2 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

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