AUTO_RSN_CR_VW

(SQL View)
Index Back

Auto Entry Reasons w/Descriptn


SELECT DISTINCT A.setid , A.entry_reason , R.descr FROM PS_AUTO_REASON_TBL A , ps_entry_reasn_tbl R WHERE A.setid = R.setid AND A.entry_use_id = 'MT-01' 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

  • Related Language Record: AUTO_RSN_CR_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 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

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