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
Manogna KoviManogna Kovi 

In a Master Detail relationship ?how many no of hierarchies can be created?

In a Master Detail relationship ?how many no of hierarchies can be created?
 
Raj VakatiRaj Vakati
  • Only up to two master detail relationships are allowed for an object.
  • You can have only Upto three levels of custom detail levels. 
  • We can't create a Master-detail relationship when the custom object already contains data.
  • Each object is allowed to have one or two masters or up to 8 details.
  • After converting a lookup field into Master-detail relationship, test your custom reports, whether they are usable or not. Sometimes upon converting, the custom reports can become unusable due to different standard report types.
https://micropyramid.com/blog/how-to-create-master-detail-relationship-in-salesforce/
 
Deepali KulshresthaDeepali Kulshrestha
Hi Manogna,
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.
For more understanding please refer to the link below:
https://help.salesforce.com/articleView?id=relationships_considerations.htm&type=5

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha