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
Priya 21Priya 21 

Change Parent id ofRelated list of lead

Hi,
I have two record types in lead one is enquiry another is Customer. I need to transfer all related activities, attachments from enquiry to customer lead.I can have multiple Enquiry leads with same name and email and only one customer lead with that name.

Please help to update parentId of Attachments and activites of enquiry lead to customer lead.

Thanks in Advance.
 

ShirishaShirisha (Salesforce Developers) 
Hi Priya,

Greetings!

Seems like you need to update the parentId of the Attachements to Customer Lead.However,this is not possible directly using Data loader.

Please find the workarounds provided below;

https://help.salesforce.com/articleView?id=000339827&type=1&mode=1

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri