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
Nishad BashaNishad Basha 

how creating the junction object in salesforce?

give me the example of above scenario please give some ideas.
BharathimohanBharathimohan
Nishad,

Lets say, we have three objects. A, B, C

To make C as junction object, create a master detail relation on C Object pointing to A and B. Hence C object will have two master detal relationships /fields acting as a junction for A and B.

You could consider this scenario,

An organization has multiple open positions (stored in object A), and a candidate (stored in Object B) can apply to more than one positions (which is Job application stored in Object C). Hence c object stores the information on corresponding candidate and the position he/she applied for. (Giving Many to Many relationships)

A - Position
B - Candidate
C - Job Application

Hopefully this clears your question.

Regards,
Bharathimohan Rammaurthy
Salesforce For All (http://salesforceforall.blogspot.com/)
Pankaj_Kumar_PandeyPankaj_Kumar_Pandey
Please read carefully, you will get your answer :)
https://help.salesforce.com/HTViewHelpDoc?id=relationships_manytomany.htm#JOJunctionObject