0

Below is the code. What deoes this error mean.

 if((salesRepMapping.Account_Owner__c == true) && (Account.KRM_Program__c == false)){
                a.OwnerId = salesRepMapping.Sales_Rep__c;
            }
  • What is the type of Account_Owner__c and KRM_Program__c fields? – Anjuna Baby Feb 21 '17 at 5:56
0

Either the Account_Owner__c field or KRM_Program__c is not of type boolean, yet you're trying to compare it against a boolean value (true/false). Double check the types of those fields and compare against a value of an appropriate type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy