SUJ--Included SYSTEM_SOURCE field

RS_WRKR_ACT_VW

(SQL View)
Index Back

SELECT A.EMPLID , B.SYSTEM_SOURCE , C.NAME , E.HOLIDAY_SCHEDULE FROM %Table(RS_WORKER_TBL) A , %Table(RS_WRKR_EFFDT) B , %Table(PERSONAL_DATA) C , %Table(JOB) E WHERE A.EMPLID = B.EMPLID AND B.SYSTEM_SOURCE = 'RS' AND A.EMPLID = C.EMPLID AND B.EMPLID = E.EMPLID AND B.EMPL_RCD = E.EMPL_RCD AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM %Table(RS_WRKR_EFFDT) D WHERE B.EMPLID = D.EMPLID AND D.SYSTEM_SOURCE = B.SYSTEM_SOURCE AND D.EFFDT <= %CurrentDateIn) AND B.WRKR_INELIGIBLE = 'N' AND E.EFFDT = ( SELECT MAX(F.EFFDT) FROM %Table(JOB) F WHERE E.EMPLID = F.EMPLID AND E.EMPL_RCD = F.EMPL_RCD AND F.EFFDT <= %CurrentDateIn) AND E.EFFSEQ = ( SELECT MAX(G.EFFSEQ) FROM %Table(JOB) G WHERE E.EMPLID = G.EMPLID AND E.EMPL_RCD = G.EMPL_RCD AND E.EFFDT = G.EFFDT ) AND E.EMPL_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 SYSTEM_SOURCE Character(3) VARCHAR2(3) NOT NULL Identifies the application or source system that generated a journal entry. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values. SUJ---Included a label as Product. Release 8.9 - 05/11/2005 - RVlasic - Added PRV (Variance Pricing) and PKK (KK Budget Journal) and deleted GLK for Project Costing per Brian Cohen.
3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 HOLIDAY_SCHEDULE Character(6) VARCHAR2(6) NOT NULL Holiday Schedule