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
LBSLBS 

Update set of fields from one record to other

Hi There,

I have two objects (say obj1__c and obj2__c) with identical fields in both objects. Is there any code best practice that can be used to populate these fields from a record from obj1__c (rec1) to other (rec2 from obj2__c)? 

Thanks,
LBS