Activity Forums Salesforce Questions and Answers when we can use Master Detail relationship and lookup relationship in Salesforce explain with example?

  • when we can use Master Detail relationship and lookup relationship in Salesforce explain with example?

  • MOHIT

    Member
    December 28, 2019 at 11:34 am

    when we can use Master Detail relationship and lookup relationship explain with example?

  • Anuj

    Member
    December 28, 2019 at 12:01 pm

    If you have to Create Roll-Up Summary field in the parent object, then use Master-Detail Relationship,

    If a record on the master object is deleted, all its related detail records are deleted as well.

    If  you don't want both the Objects are  Completely dependent on each other then use Look-Up Relationship because it doesn't follow Cascade delete.

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos