HR_GSS_PG_RT_VW(SQL View) |
Index Back |
---|---|
GSS PG Market Rate DefaultMarket Rate Default View |
SELECT a.from_cur , a.to_cur , a.rt_type , a.effdt , a.rate_mult , a.rate_div FROM PS_RT_RATE_TBL A , PS_INSTALLATION B , PS_RT_INDEX_TBL C WHERE A.TO_CUR=B.EXCHNG_TO_CURRENCY AND A.RT_TYPE=B.EXCHNG_TO_RT_TYPE AND A.RT_RATE_INDEX = C.RT_RATE_INDEX AND A.TERM = 0 AND C.DEFAULT_INDEX = 'Y' AND A.EFFDT=( SELECT MAX(A1.EFFDT) FROM PS_RT_RATE_TBL A1 WHERE A.FROM_CUR=A1.FROM_CUR AND A.TO_CUR=A1.TO_CUR AND A.RT_TYPE=A1.RT_TYPE AND A.TERM=A1.TERM) |
# | 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 | EFFDT | Date(10) | DATE | Effective Date |
5 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
6 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |