A junction object has two Master-Detail relationships, a primary and a secondary master object. What happens to a junction object record when both associated master records are deleted?
A.
The junction object record is permanently deleted and can't be restored.
B.
The delete operation cannot be performed on both master records.
C.
The delete operation is not allowed with Roll-up summary fields defined.
D.
The junction object records is deleted and placed in the recycle bin.
This is incorrect. Answer's A.
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 can't be restored.
Option A
Master record when deleted, is visible in the recycle bin but no junction record is visible.
When master record is restored from the recycle bin then junction record is also restored.
This is incorrect. Answer's A.
Link: https://help.salesforce.com/articleView?id=relationships_considerations.htm&type=5
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 can't be restored.
Many-to-Many Relationships
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 can't be restored.
Answer is A , according to salesforce relations training link :
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 can't be restored.
Correct Answer is D -
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 can't be restored.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
bigbadwolf2001
Highly Voted 3 years, 9 months agosanfun
Most Recent 3 weeks, 6 days agovldmr
6 months, 1 week agoSS1121
1 year, 2 months agobassolini
1 year, 5 months agokundan911232
1 year, 5 months agobrenohlins
1 year, 10 months agoVinSalesforce
2 years agoadnan1aust
2 years, 2 months agosyuan0321
2 years, 5 months agoSrk0020
2 years, 6 months agowka520
2 years, 6 months agowka520
2 years, 6 months agoEslo
2 years, 7 months agoP2blo
2 years, 9 months agoRamaSA
2 years, 10 months agoParag555
2 years, 10 months agoJanetBaguyo
2 years, 12 months agonoox
2 years, 10 months ago