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
k practicek practice 

URGENT:How to evaluate Account Event,Attachments to Contact using apex?

       Now i have accountid.Using this account id how to valuate account child records to contact?
after creating the new  account and contact record, evaluate the following child records:
> activities: reassign the name and related to fields (whichever may be populated, one, the other, or both) from the originating  account to the new contact.