2

As a documentation said when I delete a record all referal records will be deleted. But there are limitation about opportunities with Close Won Stage. If I change Opportunities to another Stage, Opportunities will be in that Stage after restoration. How can I delete Account and preserve Opportunity Stage after restoration from Recycle Bin?

Sorry for my English.

1 Answer 1

0

You will need to dispose of the opportunities (open up the close opportunities) or delete them first and then delete the account.

2
  • How did SF delete account? It ask about delete "Closed Won" opportunities and if you said "OK" it deletes Account and all the stuff in it. When you resotre from Recycle Account appears with Opportunities.
    – Evgeniy
    Commented Jul 3, 2015 at 3:13
  • That is SF and their UI, AFAIK, there is no option in apex to indicate that you want to delete won opportunities when deleting accounts. Not everything that SF can do can be done as simply by the developer.....
    – Eric
    Commented Jul 3, 2015 at 16:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .