function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ajit KumarAjit Kumar 

Objects with more than 2 master-detail relationship

Hi Floks,

Can someone explain me clearly, is it possible to have more than 2 master-detail relationship on a single object?

And if yes, how exactly we can do it?

Thank you

Chamil MadusankaChamil Madusanka
No you CANNOT create more that 2 master detail relationships. Each custom object can have up to two master-detail relationships and many lookup relationships. Each relationship is included in the maximum number of custom fields allowed.
Vinit_KumarVinit_Kumar
What is the use case why do you need to have more than 2 master detail on a single object ??