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
simonjpalmersimonjpalmer 

Newbie question: how do I detect deleted opportunities

This is a newbie question... if a user deletes an opportunity what happens to the opportunity record?  It is flagged as deleted and left in place or is it completely deleted?  How do I get a list of deleted opportunity records?  Is that possible?
MVJMVJ

When a users deletes a record it is moved into their recycle bin.  Until the bin is emptied the record will remain in the Opportunity object and can be queried for using the SFDC Explorer or data loder by looking at the isdeleted field.