• #38935
    Forcetalks

    What happens to child record when a master record is deleted in Look-up Relationship?

    What happens to child record when a master record is deleted in Look-up Relationship?

    #38936
    Salesforce | shariq shariq #1
    Forcetalks

    Child records are not deleted.

    #39188
    Forcetalks

    In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.

    Thanks,

    #39736
    Salesforce | Parul Parul #2
    Forcetalks

    when a master record is deleted in Look-up Relationship child record is not deleted.

    #41031
    Salesforce | Aman Aman #4
    Forcetalks

    Hi,

    In a Master-Detail relationship, when a master record is deleted, the detail record is deleted automatically (Cascade delete).

    In a Lookup relationship, even if the parent record is deleted, the child record will not be deleted.

    Thanks

    #41149
    Forcetalks

    Hello,

    1) In case of Master-Detail Relationship, if you delete Master Record, all corresponding Child Records get deleted.
    2) In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.

    Thanks,

    #42029
    Salesforce | Parul Parul #2
    Forcetalks

    In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.

    Thanks,

    #42139
    Salesforce | shariq shariq #1
    Forcetalks

    In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted.

    #42140
    Salesforce | shariq shariq #1
    Forcetalks

    2) In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.

    #42142
    Salesforce | shariq shariq #1
    Forcetalks

    It will behave like a master detail relationship.

Viewing 10 posts - 1 through 10 (of 10 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 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?