SCD_EVA_RSN_VW

(SQL View)
Index Back

Evaluation Reason Codes

Evaluation Reason Codes View SELECT A.SETID , A.REASON_TYPE , A.REASON_CD , A.DESCR50 , A.EFFDT FROM PS_REASON_CD A WHERE A.REASON_TYPE IN ('EVCH', 'EVDC', 'EVOM', 'EVWD', 'EVRO' ) AND EFFDT = ( SELECT MAX(EFFDT) FROM PS_REASON_CD D WHERE D.SETID = A.SETID AND D.REASON_CD = A.REASON_CD AND D.REASON_TYPE = A.REASON_TYPE AND D.EFFDT = A.EFFDT AND D.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

SELECT A.SETID , A.REASON_TYPE , A.REASON_CD , A.DESCR50 , A.EFFDT FROM PS_REASON_CD A WHERE A.REASON_TYPE IN ('EVCH', 'EVDC', 'EVOM', 'EVWD','EVAK','EVRO') AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_REASON_CD D WHERE D.SETID = A.SETID AND D.REASON_CD = A.REASON_CD AND D.REASON_TYPE = A.REASON_TYPE AND D.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

  • Related Language Record: SCD_EVA_RSN_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SCD_SETID Character(5) VARCHAR2(5) NOT NULL Reason Code Set ID
    2 REASON_TYPE Character(4) VARCHAR2(4) NOT NULL Reason Type
    3 REASON_CD Character(10) VARCHAR2(10) NOT NULL Reason Code
    4 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    5 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date