Tuesday, 10 December 2019

Relationship With Two Object In Salesforce

Hi folks, Today we will discuss the Lookup in Salesforce. Lookup is just a field that relates two different objects to each other. 

Salesforce has three types of Lookup relationships.

1. Lookup Relationship - Creates a relationship that links this object to another object. The relationship field allows users to click on a lookup icon to select a value from a popup list. The other object is the source of the values in the list.

2. Master-Detail Relationship - Creates a special type of parent-child relationship between this object (the child, or "detail") and another object (the parent, or "master") where:
  • The relationship field is required on all detail records.
  • The ownership and sharing of a detailed record are determined by the master record.
  • When a user deletes the master record, all detail records are deleted.
  • You can create rollup summary fields on the master record to summarize the detailed records.
The relationship field allows users to click on a lookup icon to select a value from a popup list. The master object is the source of the values in the list.

3. External Lookup Relationship - Creates a relationship that links this object to an external object whose data is stored outside the Salesforce org.

In our next post, we will discuss how we can create these fields and what are the things that we need to remember.


Next >> Coming Soon

No comments:

Post a Comment

Total Pageviews