• Georges Mardini
  • NEWBIE
  • 0 Points
  • Member since 2018
  • custom clone buton on Opportunity

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,
I have a little question,
i create a new clone button on opportunity, but when i use this button to clone a won opportunity (so the opportunity is closed), my apex code put StageName into the first step but the opportunity is still closed.
What should i do? 

Thanks
Hi,

Is there an easy way to clone opportunities and products in lightning?  

Thanks,

I want to create a new clone button that doesn't poplulate all the fields of the standard clone button. Does anyone have the apex code behind the standard one that I can copy and modify?