1

We are a company who sells to both individual companies (One opportunity to one account) and to companies with branch offices (One opportunity with multiple accounts). Is there a way to associate a single opportunity with multiple customer account records?

1
  • How about creating lookup on Account to opportunity ? Feb 20, 2017 at 11:39

3 Answers 3

2

@Test Sfdc A many-to-many relationship consists of three objects: Object A and Object B are the two primary objects, and Object J is the junction that enables the many to many. Object A <--M/D-- Object J --M/D--> Object B So on Object J you need to create two Master-Detail relationships, one that points to Object A and one that points to Object B

please check this URL: https://success.salesforce.com/apex/answers?id=90630000000ZfRRAA0

2
  • 1
    You could add some description on what explained in that link.
    – Reshma
    Feb 20, 2017 at 11:27
  • 1
    Update description using edit your post
    – Reshma
    Feb 20, 2017 at 12:02
0

You could create a Junction object between Account and Opportunity to let one-Opp relate to many Accounts.

Please note that your new junction object would be a child of Both Account and Opportunity, so any customization that you may have need to reviewed in order to display related information.

-1

Go to account page layout and add other opportunities related list for creating many to many relationship between Account and opportunity first create lookup with account in opportunity how many you want and then just add those opportunities in account page layout

1
  • How does this answer relate to the question being asked. It does not seem to provide a clear solution to the problem at hand.
    – Adrian Larson
    Jul 26, 2018 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .