thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Business Platforms & EA · Foundational

Master-Detail Relationship

Tightly coupled parent-child relationship where the detail record inherits ownership and sharing from the master and is deleted with it.

Definition

In a master-detail relationship the detail record has no owner field, the master is required, and deleting the master cascade-deletes details. It enables roll-up summary fields on the master. An object can have up to two master-detail relationships, and standard objects cannot be on the detail side.

Example

Expense_Line__c is a detail of Expense_Report__c, which rolls up total amount.

Exam tip

If the scenario needs roll-up summaries or inherited sharing, pick master-detail; standard objects cannot be detail.

Don't confuse it with

Related terms