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
farhanfarhan 

Cloning Opportunities with ALL related list objects

Hi. I am trying to clone an Opportunity with ALL its related lists (i.e. Products, Contact Roles, Partners etc..). Is there any easy way to do this using AJAX?

If not, what about using Apex to create clones at the click of a button?

Even better, is there some standard salesforce functionality which lets you clone an Opportunity with ALL its related list objects?

Thankyou for your responses!
vitekvitek
trying the following parameter when cloning the opportunity
 
cloneli=1
 
i.e.
 
{!URLFOR($Action.Opportunity.Clone,  Opportunity.Id,
[
cloneli=1
],
true)}
JDVJDV
did you come up with a solution? Can you share your code? I have a similar problem. Thank you!
JakesterJakester
You might be interested in a new app that we have just released on the AppExchange called PowerClone. It's capable of up to 99 copies of a record, allows you to define rules for how the copy works, and can also copy child objects. It's fully native code, so it runs fast and installs easily. Give it a try!
http://sites.force.com/appexchange/listingDetail?listingId=a0N30000001SRXAEA4