CUR_CONV_VW

(SQL View)
Index Back

Default Currency Rate View


SELECT A.FROM_CUR , A.TO_CUR , A.RT_TYPE , A.EFFDT , A.RATE_MULT , A.RATE_DIV FROM PS_RT_DFLT_VW A , PS_INSTALLATION B WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_RT_DFLT_VW A_ED WHERE A.FROM_CUR = A_ED.FROM_CUR AND A.TO_CUR = A_ED.TO_CUR AND A.RT_TYPE = A_ED.RT_TYPE AND A_ED.EFFDT <= %CurrentDateIn ) AND A.RT_TYPE = B.DEF_CUR_RT_TYPE

# 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

Default Value: %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