SalesforceLabs / ForcePad

ForcePad: Every Salesforce app, tab, and record, full CRUD, native iOS, slices these carrots, chops these tomatoes
http://appexchange.salesforce.com/listingDetail?listingId=a0N300000055lKrEAI
Other
102 stars 44 forks source link

Opportunity currency code always shows iPad's regional settings currency #13

Closed ax42 closed 12 years ago

ax42 commented 12 years ago

The currency code of the Amounts field is shown as the currency of the iPad's regional settings, and not the Opportunity currency (so if the Amount is 100'000 USD, the app will show it to me as 100'000 CHF, as my iPad is set to the Swiss regional settings).

jhersh commented 12 years ago

The currency name displayed should always be based on your locale. The numerical value itself is now always processed through convertCurrency() on the server side.

One possibility here is that the locale on your iPad and the locale on your user record are in disagreement. Another possibility is that there's something funky going on in convertCurrency; I have a line out to the core team on that.

ax42 commented 12 years ago

I would suggest that the displayed currency name and the value should match Salesforce (I would prefer the app not doing any conversions without my express say-so). Showing the SF-internal conversion to base currency would be useful though (like on the website). For information: our SF installation is set to USD, my iPad is set to Swiss regional, and I am physically in Switzerland.

On Apr 23, 2012, at 17:50 , Jonathan Hersh wrote:

The currency name displayed should always be based on your locale. The numerical value itself is now always processed through convertCurrency() on the server side.

One possibility here is that the locale on your iPad and the locale on your user record are in disagreement. Another possibility is that there's something funky going on in convertCurrency; I have a line out to the core team on that.


Reply to this email directly or view it on GitHub: https://github.com/ForceDotComLabs/Salesforce-for-iPad/issues/13#issuecomment-5284289

jhersh commented 12 years ago

I have this fixed in my local build. It looks like the API has been messing up currency conversions, so I've dropped conversions entirely in favor of displaying the original value along with its currency ISO code.