Apr 29, 2019 | 0 Comment | Posted by Shrey Sharma

Master-Detail: A parent-child relationship in which the master object controls certain behaviors of the detail object.

~When a record of the master object is deleted, its related detail records are also deleted.

~The Owner field on the detail object is not available and is automatically set to the owner of its associated master record. Custom object on the detail side of a master-detail relationship cannot have sharing rules, manual sharing, or queues, as these require the Owner field.

~The detail record inherits the sharing and security settings of its master record.

~The master-detail relationship field is required on the page layout of the detail record.

~By default, records can’t be re-parented in master-detail relationships. Administrators can, however, allow child records in master-detail relationships on custom objects to be re-parented to different parent records by selecting the Allow re-parenting option in the master-detail relationship definition.

~Master-Detail relationships can be defined between custom objects or between a custom object and a standard object. However, the standard object cannot be on the detail side of a relationship with a custom object.

~The data related to the object appears on related list.

~When we undelete the master record then all its related details records also gets undeleted.

Note: Master Detail relationship cannot be created where User or Lead objects are the master.

Next up is Lookup Relationship.

Share This Post

Leave a Comment

Your email address will not be published. Required fields are marked *