You need to sign in to do that
Don't have an account?

How to access conversion rate for non-corporate currency in visualforce page
I am wondering if there is an easy way to access the conversion rate from the Manage Currencies page. We have multicurrency set up and I just want to access the conversion rate decimal. for example I have a decimal and want to multiply it by the CAD conversion rate.
Decimal numberToConvert = 100;
numberToConvert=ConversionRate*numberToConvert;
I see in the manage currencies the conversionrate field is .66. How do I access that field variable in the visualforce page?
Decimal numberToConvert = 100;
numberToConvert=ConversionRate*numberToConvert;
I see in the manage currencies the conversionrate field is .66. How do I access that field variable in the visualforce page?
The SOQL would look something like:
More info on the CurrencyType object here: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_currencytype.htm
All Answers
The SOQL would look something like:
More info on the CurrencyType object here: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_currencytype.htm