Activity Forums Salesforce® Discussions What happens to child record when master record is deleted in Salesforce Lookup Relationship?

  • shariq

    Member
    September 24, 2018 at 4:27 am

    Child records are not deleted.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:50 am

    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,

  • Parul

    Member
    September 28, 2018 at 9:11 pm

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

  • Aman

    Member
    September 29, 2018 at 6:46 pm

    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

Log In to reply.

Popular Salesforce Blogs