Lookup Relationship in Salesforce links two objects together but has no effect on deletion or security. Unlike master-detail fields, lookup fields are not automatically required.
When a salesforce lookup relationship is defined, data from one object can appear as a custom related list on page layouts for the other object. There are derived into 2 subtypes:
A special lookup relationship is available for only the user object. It lets users use a lookup field to associate one user with another that does not directly or indirectly refer to itself.
For example: You can create a custom hierarchical relationship field to store each user’s direct manager.
When an object has a lookup with itself, it is a self-relationship.
Many-to-Many relationships can be modeled using master-details relationships between any two objects. It allows each record of one object to be linked to multiple records from another object and vice versa.To create a many-to-many relationship, simply create a custom junction object with two master-detail relationship fields, each linking to the objects needed to relate.
It is the relation created first with any of the two master objects.
The second master-detail relationship created with another master object.
Note:Junction objects cannot be created as a master object in a master-detail relationship with another object as detail.
Let us now learn Lookup Filter and Schema Builder.
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.