DISC_SUM_VW

(SQL View)
Index Back

Disciplinary Action Summary

View used by Crystal Report OHS002-- Disciplinary Action Summary

SELECT A.EMPLID , A.DISCIPLINE_DT ,C.DESCR ,E.ACTION_DT ,D.DESCR FROM PS_DISCIPLIN_ACTN A, PS_DISCIP_TYPE_TBL C, PS_DISCIP_STEP_TBL D, PS_DISCIPLIN_STEP E WHERE A.EMPLID = E.EMPLID AND A.DISCIPLINE_DT = E.DISCIPLINE_DT AND A.DISCIPLINARY_TYPE = E.DISCIPLINARY_TYPE AND D.DISCIPLINARY_STEP = E.DISCIPLINARY_STEP AND D.EFFDT = (SELECT MAX(EFFDT) FROM PS_DISCIP_STEP_TBL E1 WHERE E1.DISCIPLINARY_STEP = E.DISCIPLINARY_STEP AND E1.EFFDT <= A.DISCIPLINE_DT) AND A.DISCIPLINARY_TYPE = C.DISCIPLINARY_TYPE AND C.EFFDT = (SELECT MAX(EFFDT) FROM PS_DISCIP_TYPE_TBL C1 WHERE C1.DISCIPLINARY_TYPE = C.DISCIPLINARY_TYPE AND C1.EFFDT <= A.DISCIPLINE_DT)

  • Related Language Record: DISC_SUM_LNG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 DISCIPLINE_DT Date(10) DATE Reported Date
    3 DESCR_INC_TYPE Character(30) VARCHAR2(30) NOT NULL Incident Type Description
    4 ACTION_DT Date(10) DATE Action Date
    5 DESCR_ACT_TYPE Character(30) VARCHAR2(30) NOT NULL Action Type Description