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
Ashish BiswasAshish Biswas 

Standard Junction object in SFDC

Hi,
Can any one help me with an example of a standard object that’s also junction object in salesforce.

Thanks in Advance
RishavRishav
Hii, 
In don't have any standard salesforce junction object in my knowledge ,
but there r many blogs that is enough to understand this 
https://help.salesforce.com/HTViewHelpDoc?id=relationships_manytomany.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=relationships_manytomany.htm&language=en_US)
See this link once , if not understood then let me know.
 
Sagarika RoutSagarika Rout
Hi Asish , 

 OpportunityContactrole is the junction between Opportunity and Contact, and also Quote is junction between Contract and Opportunity.

Also you can find out some more examples of standard junction objects from Salesforce Data Model.

Thanks,
Sagarika
Kruthika KsKruthika Ks
PriceBookEntry is a junction between Product2 and Pricebook2
Arpita NandiArpita Nandi
Opportunity Product is a junction object between Product2 and Opportunity.
Jaspreet Kaur 93Jaspreet Kaur 93
Opportunity Product and  OpportunityContactrole have lookup relationships with each other... but according to junction object definition, it contains master relationship.. So I doubt if we can consider OpportunityContactrole & Opportunity Product as junction objects or not although they behave like junction objects.
Suraj Tripathi 47Suraj Tripathi 47
Hi Ashish,

Greetings!

There are many standard junctions in salesforce.
OpportunityContactRole -> OpportunityId + ContactId
PricebookEntry -> PricebookId + Product2Id
OpportunityLineItem -> OpportunityId + PricebookEntryId

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi
Sanket VidhateSanket Vidhate
Junction Object - A junction object is a Object with two master-detail relationships, and we can achive many-to-many relationship with the help of it.
List of Standard Junction objects -
  • OpportunityContactRole it is  the junction of Opportunity and Contact .
  • OpportunityLineItem it is the junction of Opportunity and Line Item .
  • PriceBookEntry it is the junction for Pricebook and Products .
SKMuklesh AliSKMuklesh Ali
Five Standard Object Junction In Salesforce
1.OpportunityLineItem -> OpportunityId + PricebookEntryId
2.PricebookEntry -> PricebookId + Product2Id
3.CaseSolution -> CaseId  + SolutionId
4.OpportunityContactRole -> OpportunityId + ContactId
5.CaseArticle