RSF_FCAST_RT_VW(SQL View) |
Index Back |
---|---|
Current Effdt Currency RatesCurrent Effdt Currency Rates |
SELECT A.RT_RATE_INDEX , A.TERM , A.FROM_CUR , A.TO_CUR , A.RT_TYPE , A.EFFDT , A.RATE_MULT , A.RATE_DIV , A.SYNCID , A.LASTUPDDTTM FROM PS_RT_RATE_TBL A , PS_RT_INDEX_TBL B WHERE A.RT_RATE_INDEX = B.RT_RATE_INDEX AND A.TERM = 0 AND B.DEFAULT_INDEX = 'Y' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_RT_RATE_TBL C WHERE C.RT_RATE_INDEX = A.RT_RATE_INDEX AND C.TERM = 0 AND C.RT_TYPE = A.RT_TYPE AND C.FROM_CUR = A.FROM_CUR AND C.TO_CUR = A.TO_CUR AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | RT_RATE_INDEX | Character(10) | VARCHAR2(10) NOT NULL | Market Rate Index |
2 | TERM | Number(5,0) | INTEGER NOT NULL | Term |
3 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL |
From Currency Code
Prompt Table: CURRENCY_CD_TBL |
4 | TO_CUR | Character(3) | VARCHAR2(3) NOT NULL |
To Currency Code
Prompt Table: CURRENCY_CD_TBL |
5 | 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 |
6 | EFFDT | Date(10) | DATE | Effective Date |
7 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
8 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
9 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
10 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |