EX_NONPREF_VW

(SQL View)
Index Back

Expense NonPref Merchant View


SELECT a.setid , a.expense_type FROM PS_EX_TYPES_TBL a WHERE a.expense_type_edit IN ('AIR', 'HTL', 'RTL','NON') AND a.pref_mrchnt_flg='Y' AND a.effdt = ( SELECT MAX(a1.effdt) FROM PS_EX_TYPES_TBL a1 WHERE a1.setid = a.setid AND a1.expense_type = a.expense_type AND a1.effdt <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 EXPENSE_TYPE Character(7) VARCHAR2(7) NOT NULL Expense Type