Activity Forums Salesforce® Discussions Can you name three types of object relationships available in Salesforce?

  • shariq

    September 22, 2018 at 4:22 pm

    There are three main relationship types in Salesforce…

    A lookup relationship can be used to link two objects together. It is the most basic type of relationship that creates a child-parent relationship between two objects.

    A master-detail relationship can also be used to link two objects together. A master-detail relationship creates a tight relationship between the parent and the child. The child record inherits security of the parent, and if the parent is deleted, all associated child records will also be deleted. Master-detail relationships created some extra functionality such as roll-up summary fields that allow you to calculate data on the parent from the children.

    A many-to-many relationship (Also referred to as a junction object), allows you to create a relationship between two objects that need to model a many-to-many relationship. These are created with an object that has two master-detail relationships to two parent objects.

  • Parul

    September 22, 2018 at 4:52 pm

    lookup relationship

    master-detail relationship

    many-to-many relationship

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos