AR_RATE_DSP_VW(SQL View) |
Index Back |
---|---|
Market Rate Data ViewMarket Rate View |
SELECT a.from_cur , a.to_cur , a.rt_type , a.rt_rate_index , a.effdt , a.rate_mult , a.rate_div FROM ps_rt_rate_tbl a WHERE a.term = 0 AND a.effdt = ( SELECT MAX(EFFDT) FROM ps_rt_rate_tbl WHERE rt_rate_index =a.rt_rate_index AND term = A.term AND rt_type = a.rt_type AND from_cur = a.from_cur AND to_cur = a.to_cur AND EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL |
From Currency Code
Prompt Table: CURRENCY_CD_TBL |
2 | TO_CUR | Character(3) | VARCHAR2(3) NOT NULL |
To Currency Code
Prompt Table: CURRENCY_CD_TBL |
3 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
Prompt Table: RT_TYPE_TBL |
4 | RT_RATE_INDEX | Character(10) | VARCHAR2(10) NOT NULL |
Market Rate Index
Prompt Table: RT_INDEX_TBL |
5 | RT_EFFDT | Date(10) | DATE | The effective date for a given item of market rate data. |
6 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
7 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |