You are on page 1of 4

Junction Object:

Salesforce Junction Objects give you a way to create a many-to-many relationship between
Salesforce objects. They are created using a custom object and then relating two other objects
via two master-detail relationships.

Standard Object – Junction object as Opportunity Product

Custom Object – Many to many relationship- Junction Object


Junction object – Course applicant – Linking 2 object (Course and Student ) object via Master detail . We
have shown demo using Lookup relationship . Junction object – Salesforce recommend to use Master
detail. While you are implementing – you can use Master detail relationship instead of look for the field -
Course__c & Student__c as Masterdetail relationship in Course compliant object.
Course object – Put some records like C,C++,Jave,J2ee,SAP,SFDC,Oracle etc

Student – Create Some Student records

Course applicant object – Link Course and Student info

Suppose: Ram want to learn all the courses . Then create Student as Ram and link all the corses.

Then try to delete the course record like C or C++ - Check the Course applicant records.

Custom Object

You might also like