TL_OT_JOB_VWL

(SQL View)
Index Back

OT Job Lang Record

Related language TL overtime JOB record

SELECT HDR.EMPLID , HDR.EMPL_RCD , HDR.TL_SEQ_NUM ,C.LANGUAGE_CD , C.DESCR FROM PS_TL_OT_DATA HDR , PS_JOB JOB , PS_JOBCODE_LANG C WHERE JOB.EMPLID = HDR.EMPLID AND JOB.EMPL_RCD = HDR.EMPL_RCD AND JOB.SETID_JOBCODE = C.SETID AND JOB.JOBCODE = C.JOBCODE AND %EffdtCheck(JOBCODE_LANG, C, %CurrentDateIn) AND JOB.EFFDT=( SELECT MAX(EFFDT) FROM PS_JOB JOB2 WHERE JOB.EMPLID=JOB2.EMPLID AND JOB.EMPL_RCD=JOB2.EMPL_RCD AND JOB2.EFFDT<=%CurrentDateIn) AND JOB.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = JOB.EMPLID AND EMPL_RCD = JOB.EMPL_RCD AND EFFDT = JOB.EFFDT)

  • Related Language Record for TL_OT_JOB_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Default Value: PERSON.EMPLID

    2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
    3 TL_SEQ_NUM Number(5,0) INTEGER NOT NULL Table Lookup Sequence Number
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 JOB_DESCR Character(30) VARCHAR2(30) NOT NULL Job Description