-
Fetch account details using "AccountContactRelation" junction object in Salesforce
Hi,
I am stuck with a problem here.
I have enabled multiple Accounts to Contact in my Salesforce org. This creates a junction object called AccountContactRelation.
I need to write a query which would fetch the account details like Account id, name, record type of the Accounts linked to a Contact.
Condition is, only those account details should be fetched where the contact has more than one account linked to it.
Can someone please help. It is urgent
Thanks!
Log In to reply.
Popular Salesforce Blogs
Know All About the Role of Salesforce Administrator
The role of a Salesforce Administrator is wide and varied, depending on the skills of the person performing the role and the size/complexity of the…
Implementing Salesforce CPQ for Better Sales Opportunities in Telecom Services
Salesforce, throughout the years, has enabled organizations to connect with their customers in more personalized and agile ways. However, as telecom enterprises are growing quickly…
Learn All About Flows and Plugins in Salesforce | The Developer Guide
Flows When the process involves the number of pages when the data need to be transferred between the pages. We prefer to uses flows. Plugin…
Popular Salesforce Videos
Get Ready for a More Connected Partner Experience | Salesforce Partners
Your destination for a connected partner experience is the Partner Community. Get Ready For an Enhanced and Personalized Experience. Watch this video and learn more…
Get Started With Empowering Your Sales Users in Salesforce Pardot
This Get Started With Empowering Your Sales Users in Pardot series will help your sales reps sell more and save time with Pardot features. The…
Salesforce Customer 360 - It Brings Your Company & Customers Together
Q: With a dispersed workforce, how do you bring all departments together with a single shared view of your customer? A: With Salesforce Customer 360.…