• #31373
    Forcetalks

    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?

    Tagged: , , , ,

    #31377
     Prachi #7
    Forcetalks

    Hello Avnish,

    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.

    #31797
    Forcetalks

    Thanks, Prachi.

    #34590
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    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.

    #36167
    Salesforce | Parul Parul #2
    Forcetalks

    Hi

    If parent record is deleted then child is also deleted in Master-detail.

Viewing 5 posts - 1 through 5 (of 5 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?