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

Convert amount into USD
In Opportunity we have amount field with multi-currencies such as USD, EUR, JPY, etc have created a custom field called usd_amount__c I need to store this amount in USD please suggest me how to convert this multicurrecny value in this custom field.
Thanks
Sudhir
Thanks
Sudhir
https://success.salesforce.com/ideaView?id=08730000000Br1GAAS
we all need this in our lives.
To solve your problem then, I would probably suggest a simple trigger (sorry for the code solution, I know it means you have to write tests)
of course, I have set this up so it ONLY sets the USD value the FIRST time an amount exists in the opportunity (see the if criteria) you might want to play a little harder with when the conversion is done.
All Answers
https://success.salesforce.com/ideaView?id=08730000000Br1GAAS
we all need this in our lives.
To solve your problem then, I would probably suggest a simple trigger (sorry for the code solution, I know it means you have to write tests)
of course, I have set this up so it ONLY sets the USD value the FIRST time an amount exists in the opportunity (see the if criteria) you might want to play a little harder with when the conversion is done.
Thanks
Sudhir
Example if ERU exchange rate is 0.896861 and amount 2 according to your trigger it shows 2 but it should be 2.19 can you please help me to validate
Thanks
Sudhir
Hi Guys,
I need a little help . I am almost there ... but need a little hand-holding. Agenda is to ALWAYS display the value converted in EUR - does not matter what the record currency is.
I am using this code below:
It is doing everything fine except the fact that the Amount_Converted__c field's values are displayed as USD (& EUR) but EUR seems like display only value - the USD is what the Amount_Converted__c field is holding. I want to use Amount_Converted__c converted in EUR in my workflow but instead I am getting the USD value - how could I just get the EUR value? I don't really need the Record Currency type - I need my EUR currency to be used in my workflows/approvals.
Please help.
To be clear, this is not for advanced multi-currency. That adds some complexity but is still doable. Rather than referencing the CurrencyIsoCode in the third line directly, you'd reference a new hidden number field (we'll call it Exchange_Rate__c) that is updated by a process builder. The process builder would update the Exchange_Rate__c field in certain situations (on creation, closed won, etc) and lookup the exchange rate at that time, update Exchange_Rate__c and your formula would look like this