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
saleforce beesaleforce bee 

Junction object possible by two Look up relationships


Many to many relationship is being created by junction objects , then below two options are possible to

create it ?


1)Object A Look up relationship--->Junction object <----Look up relationship Object B



2)Object A Master Detail relationship--> Junction object <--- Master Detail relationship Object B

Yes you can use both options as junction object but may not be exactly same features.

It is possible to create the Junction Object with Lookup fields. However there are advantages in case of Master detail in terms of security and dependency.


You should look into below article:

Anupma Mishra 5Anupma Mishra 5
How to cascade delete the child record of two lookup relationship connected  by junction object ?