Activity › Forums › Salesforce® Discussions › What purpose does Junction objects serve in salesforce?
Tagged: Custom Object, Junction Object, Many To Many Relationships, Master Detail Relationship, Salesforce Help and Training, Salesforce Objects
-
What purpose does Junction objects serve in salesforce?
Posted by suniti on June 26, 2018 at 10:29 AMWhat purpose does junction objects serve in salesforce?
Prachi replied 7 years, 7 months ago 6 Members · 6 Replies -
6 Replies
-
For creating Many-to-Many relationship, we need Junction object. It is a custom object which can link one instance of a record to many children, and each child can equally be linked too. Junction Object have two master-detail relationships to two different record types
- [adinserter block='9']
-
Junction objects are used to create many to many relationships between objects. It is a custom object which can link one instance of a record to many children, and each child can equally be linked too. Junction Object have two master-detail relationships to two different record types.
Example: If you take the Recruiting application example, you can see that a Position can be linked to many Candidates, and a Candidate can apply for different Positions. To create this data model you need a third object “Job Application” that links the 2.
Thanks
-
Hi,
Reason :-
You can’t create many to many relationship in salesforce with two sobjects, you have to take a third sobject as junction between the first two.
Hope this helps.
-
Hi,
Junction Object is a custom object with two master-detail relationships. Using a custom junction object, you can model a “many-to-many” relationship between two objects. For example, you create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs.
Creating the many-to-many relationship consists of:
Creating the junction object.
Creating the two master-detail relationships.
Customizing the related lists on the page layouts of the two master objects.
Customizing reports to maximize the effectiveness of the many-to-many relationship.Thanks.
-
Hello,
junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.
Thanks.
-
hi,
Junction objects are used to create many to many relationships between objects. It is a custom object which can link one instance of a record to many children, and each child can equally be linked too. Junction Object have two master-detail relationships to two different record types.
Log In to reply.