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
Kakasaheb EKKakasaheb EK 

Illegal assignment from List<System.SelectOption> to SObject

Hi All,

i am getting above error plese help...

public static void onAfterUpdate(list<BUD__c> newObjects){ 
        for(BUD__c b: newObjects){
             if (Trigger.oldMap.get(b.Id).Account_Name__c != Trigger.newMap.get(b.Id).Account_Name__c){