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
Adesh TiwariAdesh Tiwari 

Can we create a common master detail relationship field on two different objects (for example create one master detail field Company on the object Worker and create same master detail field company on another Object, say Employees) ?

Surya GSurya G
Hi Adesh,
Yes it is possible.
Refer this link for master detail relationship consideration
https://help.salesforce.com/articleView?id=sf.overview_of_custom_object_relationships.htm&type=5

Thanks
Surya G
Suraj Tripathi 47Suraj Tripathi 47
Hello Adesh,

I do not clearly understand that what is your requirement, Please Define your question clearly.
As I understood that you want to use one Object as a master and use its property in two child objects, So is this correct then Yes you can use it.
You can learn about relationships from this :
https://trailhead.salesforce.com/content/learn/modules/data_modeling/object_relationships
Thanks
---------------
If you find your Solution then mark this as the best answer to close this question. 

Thank you!
Regards,
Suraj Tripathi
Adesh TiwariAdesh Tiwari
Thanks Surya, yes I was asking the same. There is a line mentioned in the link which you have shared that-" Each custom object can have up to two master-detail relationships and up to 25 total relationships", does this imply that we can use one Object as a Master and use it in 25 child objects? If Not, then please let me know meaning of this statement and answer to the question that in how many such child objects we can use one Master object.