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
roni shoreroni shore 

Custom setting value coming null

accountLIst = [querying Accounts here] 
 Map<String,Validation__c> mcs = R2_Validation__c.getAll();
            system.debug('mcs====>'+mcs);                              
            for(Account acc : accountList){
                          billingCountry = acc.BillingCountry;
            Validation__c mc = Validation__c.getValues(BillingCountry);
            system.debug('mc====>'+mc); 

Getting value on mc null. Please suggest
jane1234jane1234
hi roni 
check whether the account BillingCountry is same the customsettings name