EX_RANGECAT_VW(SQL View) |
Index Back |
---|---|
Expenses Per Diem Range View |
SELECT a.SETID , a.COUNTRY , a.range_id , a.RANGE_CATEGORY FROM PS_EX_RANGE_DTL a , PS_EX_RANGE_TBL b WHERE a.SETID = b.SETID AND a.RANGE_ID = b.RANGE_ID AND a.RANGE_CATEGORY = b.RANGE_CATEGORY AND a.EFFDT = ( SELECT MAX(c.EFFDT) FROM PS_EX_RANGE_DTL c WHERE c.SETID = a.SETID AND c.RANGE_ID = a.RANGE_ID AND c.RANGE_CATEGORY = a.RANGE_CATEGORY AND c.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
3 | RANGE_ID | Character(5) | VARCHAR2(5) NOT NULL | Range ID |
4 | RANGE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Range Category |