• #38933
    Forcetalks

    What happens to detail record when master record is deleted?

    What happens to detail record when master record is deleted?

    #38934
    Salesforce | shariq shariq #1
    Forcetalks

    When master Record is deleted, it’s detail records are also deleted.

    #39187
    Forcetalks

    In case of Master-Detail Relationship, once you detail Master Record all corresponding Child Records get deleted.

    #39218
    Forcetalks

    Hi,

    The child record gets automatically deleted on deleting the master record.

    #41034
    Salesforce | Aman Aman #4
    Forcetalks

    Hi,

    A master-detail relationship is a stricter relationship, where the children (detail records) are tied to the parent (master). They can’t be moved to another master (yet – this is coming soon) and deleting the master will delete all of it’s children.

    Thanks

    #41155
    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,

    #42008
    Salesforce | Parul Parul #2
    Forcetalks

    The child record gets automatically deleted on deleting the master record.

Viewing 7 posts - 1 through 7 (of 7 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?