You need to sign in to do that
Don't have an account?
Vikas
Can I access default Organization Currency from Sforce API?
Hi All,
Can I access default Organization Currency from Sforce API? If yes, which entity and field gives me this?
Thanks in advance.
Hi Vikas,
The way to determin what the default is for the org is to do a DescribeSObject on the User object. Inspect the picklist values for the DefaultCurrencyIsoCode field. If you have only one, then that is the defualt (ie the org is not multi-currency or there is only one currency configured). If there are more than one, the iterate the picklist values. There is a property on the picklist values called defaultValue. This property will be true for the org default currency.
Cheers
userDefaultCurrencyIsoCode -> Default currency ISO code. Applicable only when organizationMultiCurrency is True. When the logged in user creates any objects that have a currency ISO code, the server uses this currency ISO code if it is not explicitly specified in the create call.