- April 29, 2016 at 7:30 am #10664Satyakam #444
What is the use of Junction Object in Salesforce?
What is the use of Junction Object in Salesforce?April 29, 2016 at 7:32 am #10665Akash #471
Junction objects are used to create many to many relationships between objects. 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.
So you’d create a lookup field for both Position and Candidate object on the “Job Application” object. This will establish many to many relationship between Position and Candidate via the “Job Application” object known as the junction object.April 29, 2016 at 7:33 am #10666shalini #460
In Salesforce, a Junction Object is a custom object with two master-detail relationships to two different record types. It is used to represent a many-to-many relationship in which several junction objects can link one instance of a record to many children, and each child can equally be linked to many parents.April 29, 2016 at 8:00 am #10679Naman #166
If you require to implement many to many relationship in salesforce, you need to go with Junction object.September 18, 2018 at 7:24 am #34969Parul #2
Instead of creating a relationship field on the Position object that directly links to the Employment Website object, we can link them using a junction object . A junction object is a custom object with two master-detail relationships, and is the key to making a many-to-many relationship.
ThanksSeptember 21, 2018 at 12:36 am #35971shariq #1
Main use of junction object is to create many to many relationship between two sobject.
Hope this helps.September 29, 2018 at 7:20 pm #41050Aman #4
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.September 29, 2018 at 8:02 pm #41086
Please Register to reply to this topic. /