What Are Object Relationships Object Relationship can be created on both Standard Object and Custom Object. Basically, There are two types of Relationship in Salesforce. Master-Detail Relationship Master-Detail Relationship is the Parent child relationship. Master-Detail Relationship can be created only on " Custom Objects ". We Can Create Only 2 Master-Detail Relationship on an Object. Master field is Mandatory field. Object in which Master-Detail Relationship is created that object is Called Child Object. Object to whose data Master-Detail Relationship is referring that object is Called Master Object or Parent Object. Whenever we delete the Parent Record the Corresponding Child Record also get deleted. The deleted child record will not go to Recycle bin. When you Un-delete the Parent records Corresponding Child Record are also Un-Delete. How To Create a Master-Detail Relationship 1 - Setup-> Create-> Select Object -> Custom Fields & Relatio
Salesforce Hub - “Programs must be written for people to read, and only incidentally for machines to execute.”