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
CaffeineCaffeine 

Deleted Partner Records - QueryAll? IsDeleted?

Are Partner (as in the Partner object) records deleted for good and not sent to the Recycle bin?

 

Here's the behavior: 

1. I add a Partner to an Account.  

I immediately query and see the the two Partner records (one for each direction)

 

2. I delete the Partner from the Account.

I queryAll (adding IsDeleted=true) to the filter and the Partner records aren't returned

 

Is there something special about Partner records (or other Many-to-Many types) that causes them to be deleted without being recoverable/queryable from the Recycle bin?

 

Thanks,

C.

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell
many child object types do not use the recycle bin. (you can however find out they've been deleted via getDeleted)

All Answers

SuperfellSuperfell
many child object types do not use the recycle bin. (you can however find out they've been deleted via getDeleted)
This was selected as the best answer
CaffeineCaffeine
Much appreciated, Simon.  You're the tops.