AUTO_RSN_WAO_VW

(SQL View)
Index Back

Write-Off Overpayment Reasons


SELECT %Substring(C.SETCNTRLVALUE,1,5) , R.ENTRY_TYPE , A.EFFDT , A.ENTRY_REASON , R.DESCR FROM PS_AUTO_REASON_TBL A , PS_ENTRY_REASN_TBL R , PS_SET_CNTRL_REC C WHERE A.SETID = R.SETID AND A.ENTRY_USE_ID = 'WS-10' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_AUTO_ENTRY_TBL WHERE SETID = A.SETID AND ENTRY_USE_ID = A.ENTRY_USE_ID AND EFFDT <= %CurrentDateIn) AND R.ENTRY_TYPE = ( SELECT ENTRY_TYPE FROM PS_AUTO_ENTRY_TBL WHERE SETID = A.SETID AND ENTRY_USE_ID = A.ENTRY_USE_ID AND EFFDT = A.EFFDT AND EFF_STATUS = 'A' ) AND A.ENTRY_REASON = R.ENTRY_REASON AND A.SETID = C.SETID AND C.REC_GROUP_ID = 'AR_15' AND C.RECNAME = 'AUTO_RSN_WAO_VW'

  • Related Language Record: AUTO_RSNWAO_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 ENTRY_TYPE_DB Character(5) VARCHAR2(5) NOT NULL Debit Entry Type
    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 ENTRY_REASON Character(5) VARCHAR2(5) NOT NULL "Specifies an entry reason that further qualifies the entry type associated with a pending item. For example an entry reason for a credit memo might be ""Pricing Error"" or ""Shipping Error""."

    Prompt Table: ENTRY_REASN_TBL

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description