Salesforce relationships associate objects with other objects and relationships helps to connect two or more things in order to perform a particular function. In Salesforce a relationship is used to link different custom objects with standard objects. To learn how to create master detail relationship in Salesforce, follow the Salesforce tips illustrated in this article and you will discover new ways of customizing your salesforce package for maximum benefits. Learning how to create master detail relationship in Salesforce is not so hard, if you have some background information on how salesforce operates, then you will find it very easy to create a master detail relationship.
How to Create Master Detail Relationship in Salesforce
When you ask yourself, what is Salesforce, you need to be familiar with Salesforce relationships. This article will help you understand how to create master detail relationship in Salesforce, but first you must familiarize yourself with the type of relationships available in Salesforce.
Master-Detailed RelationshipThis is a parent child relationship where master-objects control certain behaviors of the detail-object.
Characteristics of a master detail-relationship and its properties:
1. The child record is always accompanied with an associate parent. 2. Only maximum of 2 master detail relationships can be created with an object. 3. All master detail relationship can be recorded. 4. The detailed record inherits some security and sharing settings from its master record“Many to Many” Relationship
A “many-to-many” relationship allows each object of parent object to be linked with multiple record. You can integrate a master detail relationship with a “Many to Many” relationship when creating a custom object. If you would like to create a many to many relationship, use a custom junction-object with 2 master detail relationship to link objects to relate.
Lookup
This Salesforce relationship is used to link 2 objects together and does not affect security or deletion. Unlike most master detail relationship, lookup fields are not set automatically.
Contacting the Salesforce help desk and you will be guided on How to create master detail relationship in salesforce.