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
lohith mlohith m 

Junction Object

I have 3 objects called A,B and C ..... A and B are Master-Detail to C .... So that C is a Junction Object
A has following Properties---------->                              
1. A is Primary Master-Detail to C 
2.A is Public Read-Only
B has following Properties----------->
1.B is Secondary Master-Detail to C 
2.B is Private
So my question is C inherits which Master-Detail Object Properties in case of both security , look and feel..... 


Can we make junction object in case of Lookup relation......
Ajay K DubediAjay K Dubedi
Hi lohith,
If there are two master detail relationships then the first master-detail relationship you create on your junction object becomes the primary relationship. This affects the following for the junction object records:
Look and feel: The junction object's detail and edit pages use the color and any associated icon of the primary master object.
Record ownership: The junction object records inherit the value of the Owner field from their associated primary master record. Because objects on the detail side of a relationship do not have a visible Owner field, this is only relevant if you later delete both master-detail relationships on your junction object. 
Division: If your organization uses divisions to segment data, the junction object records inherit their division from their associated primary master record. Similar to the record ownership, this is only relevant if you later delete both master-detail relationships.