• #10664
    Salesforce | Satyakam Satyakam #444
    Forcetalks

    What is the use of Junction Object in Salesforce?

    What is the use of Junction Object in Salesforce?

     

    #10665
    Salesforce | Akash Akash #471
    Forcetalks

    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.

    #10666
    Salesforce | shalini shalini #460
    Forcetalks

    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.

    #10679
    Salesforce | Naman Naman #166
    Forcetalks

    If you require to implement many to many relationship in salesforce, you need to go with Junction object.

    #34969
    Salesforce | Parul Parul #2
    Forcetalks

    Hi satyakam,

    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.

    Thanks

    #35971
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    Main use of junction object is to create many to many relationship between two sobject.

    Hope this helps.

    #41050
    Salesforce | Aman Aman #4
    Forcetalks

    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.

    #41086
    Forcetalks

    Hello,

    junction object is a custom object with two master-detail relationships and is the key to making a many-to-many relationship.

    Thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?