What happens to a junction object when either associated master - ProProfs Discuss
Advertisement

What happens to a junction object when either associated master record is deleted?

This question is part of Salesforce App Builder Review
Asked by Faron, Last updated: Oct 25, 2020

+ Answer
Request
Question menu
Vote up Vote down

5 Answers

bvccano

bvccano

bvccano
Bvccano

Answered Jul 28, 2020

B. The record is deleted and placed in the recycle bin.

upvote downvote
Reply 

brookgong063085

brookgong

brookgong063085
Brookgong

Answered May 07, 2020

B. The record is deleted and placed in the recycle bin.

upvote downvote
Reply 

Samantha Stewart

Samantha Stewart

Love to do some charity work. Have a passion for writing and do it in my spare time

Samantha Stewart
Samantha Stewart, Philanthropist, Post Graduate, Corpus Christi

Answered Dec 07, 2018

As the previous answers have stated, if one of the master detail records is deleted, it goes in the recycle bin. If both are deleted, well, sorry, but you’re out of luck; it can’t be retrieved at this point. It’s like putting something in the recycle bin on your computer, and then deleting everything from your recycle bin; it’s gone after you delete it from the recycle bin, and you can’t get it back.

Disclaimer: I am not experienced with SalesForce. I cannot say for sure if this is still how it operates, as this answer is hobbled together by double checking the other answers on the help page. If you want to know more, take a SalesForce training or play around with some records made specifically for that purpose.

upvote downvote
Reply 

H. Martin

H. Martin

H. Martin
H. Martin, Content Writer, Charlotte

Answered Oct 10, 2018

In Salesforce, there are junction objects. These junction objects are used by those on Salesforce in order to build the relationships in multiple capacities between the things in Salesforce. There are certain times when one thing or object needs to be linked to several different things. Think of applications as if it was for a job. There might be one application which is an object and then there might be several candidates who want to apply.

So, there would be many candidates or objects for that one application. Master records in Salesforce are used to hold the places of other things. So, if the master record is deleted, two things take place. The record is deleted and thrown away and it has two master detail relationships.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Mar 14, 2017

The record is deleted and placed in the recycle bin.

Junction object records are deleted when either associated master record is deleted and placed in the Recycle Bin. If both associated master records are deleted, the junction object record is deleted permanently and cant be restored.####
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.