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
LakshmanLakshman 

Custom Opportunity Clone with Products

Hello All,

I want to clone any Opportunity record with or without products where I have a set of fields pre-populated on the Clone page in edit mode. The clone page should have the same look and feel of page layouts assigned to logged in user.
The clone page should also have the Opportunity Products in edit mode so that the user can edit it before clonning.
Is there any package available or if anyone has done this ?

Thanks in advance!
SonamSonam (Salesforce Developers) 
Check the following Appexchange App: as mentioned in its install guide(https://appexchange.salesforce.com/servlet/servlet.FileDownload?file=00P30000006ClwmEAC) - it can clone Opportunities with products:
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000003IxcZEAS&tab=r
LakshmanLakshman
I am aware of this app but this does not give me an option to edit before clonning, like if I wish to edit the Opportunity details before saving. 
So what I need is a cusomt VF page to be same as the page layout where I can edit the Opportunity details as well as the Opportunity Products if Clone with Products is clicked. There can definitely be several other visualforce page depending on the record types in the system but what we want is user can modify the details before cloning. 
Let me know if that makes sense.