function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DokerDoker 

Is that a bug?

boolean bb = UserInfo.ismulticurrency();

ErrorError: Compile Error: Method does not exist or incorrect signature: UserInfo.ismulticurrency() at line 60 column 29
mikefmikef
Method calls are case sensitive use UserInfo.isMultiCurrency()
DokerDoker

                if(UserInfo.isMultiCurrency())
                {}


still the same. Please help!
mikefmikef
Your right, but it's not a bug in Apex it's a bug in the docs.

The name of the method is isMultiCurrencyOrganization() a user can't be multi currency but an org can.

I will log a bug for the docs team to change this.

Please use isMultiCurrencyOrganization().
DokerDoker
Great thanks! :)