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
crocodilecrocodile 

Is there any limitation for the number of Master-Detail relationships for an object?

Hi 

Can any one plz tell me... Is there any limitation for the number of Master-Detail relationships for an object? 

Am unable to create a new Master-Detail relationship for an object where it is already having 2 Master-Detail relation ship fields.

 

Thx in advance,

VNath

 

Best Answer chosen by Admin (Salesforce Developers) 
Hari@RockzsHari@Rockzs

Hi Croc,

 

    There is Limitation On Master-Detail Relationship on Object,

    We Can Create Only 2 Master-Detail Relation On a Object,That object is know as "Junction Object",

    So we Can get one-one,one-many,many-many relation between two Parent objects by using this Junction Object.

 

 

Hari@Rockz  

All Answers

Hari@RockzsHari@Rockzs

Hi Croc,

 

    There is Limitation On Master-Detail Relationship on Object,

    We Can Create Only 2 Master-Detail Relation On a Object,That object is know as "Junction Object",

    So we Can get one-one,one-many,many-many relation between two Parent objects by using this Junction Object.

 

 

Hari@Rockz  

This was selected as the best answer
crocodilecrocodile

Thx Hari

 

-VNath