- August 9, 2018 at 8:03 am #31373Avnish Yadav #3
What happen if child have two master records and one is deleted?
What happens if the child has two master records and one is deleted?August 9, 2018 at 9:08 am #31377Prachi #9
If child have two master records and one is deleted then 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.
Thanks.August 16, 2018 at 6:48 am #31797September 16, 2018 at 5:42 pm #34590shariq #1
Few important points (usually interview type Questions of salesforce ):
One Object can have only two Master-Detail relationships.
If we delete record A (First Master detail relationship is always primary) – then child record c will be deleted.
If we delete record B then in this case also child record C will be deleted.
If we delete record c then only C will be deleted , master record will not be deleted.
If child C has two Master record A and B, Where A is primary relation then Child record C will inherit the look and feel of Parent object A.
Hope this helps.September 21, 2018 at 10:04 pm #36167
Please Register to reply to this topic. /