You need to sign in to do that
Don't have an account?
Anais Ofranc 9
salesforce mobile sdk access to UserInfo class
I have created a mobile app in Android and iOS using the Salesforce SDK. I want to add functionality of multi currency by using isMultiCurrencyOrganization() method from the UserInfo class. Now I am quite new to Salesforce mobile SDK so I don't know how I can use the methods of UserInfo class and check if user's organization has multi-currency enabled.
Mobile SDK Google+ community: https://plus.google.com/u/0/communities/114225252149514546445
I found a solution to some extent.
I used [select IsoCode from CurrencyType where IsActive='true' ] and got a list of all the supported currencies. But this only works for multi-currency organization.
None of the fields e.g. DefaultCurrencyIsoCode, CurrencyIsoCode from objects User, Account etc. work for a single currency organization.
So how can I fetch the default currency code of an organization which has multi currency disabled.
Thanks