AV_ADJ_REASN_VW

(SQL View)
Index Back

Adjustment Reason

This view will show the most recent active version of an adjustment reason. The EFF_STATUS field has been overridden with STATUS to prevent omitting a current inactive row from the returned list. Used in relate displays of an adjustment reason.

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

  • Related Language Record: AV_ADJ_REAS_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 ADJ_REASON_CD Character(3) VARCHAR2(3) NOT NULL Reason Code
    2 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description

    Default Value: AV_ADJ_REASON.DESCR

    5 STATUS Character(1) VARCHAR2(1) NOT NULL Status Indicator
    A=Active
    I=Inactive