-
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
Salesforce Mobility & Security – When the user’s PIN is simply not enough
Many of us love and prefer using Salesforce and working with Salesforce data in remote locations, on mobile devices. With an ever-increasing popularity and high-speed…
Unravel the Advantages of Salesforce Marketing Cloud
Salesforce has continued to be a market leader in offering Customer Relationship Management (CRM). Presently, it holds over 19.5% share of the market, defeating all…
Troubleshooting and Debugging Salesforce orgs in The Welkin Suite
Even though Salesforce has always been an innovative platform, just a couple years ago our troubleshooting options seemed as they were much more closer to…
Popular Salesforce Videos
What is Lookup Relationship in Salesforce?
In this video, Shrey is not only teaching but also demonstrating to you "What is Lookup Relationship in Salesforce?". You will be learning: 1. How…
Integrate Salesforce with Amazon S3
Dear #Trailblazers, In this video, we are going to learn how to connect #Salesforce with #Amazon S3. We are going to use Named Credentials which…
How to Send a Pardot Email with Multiple Line Items | Salesforce
It is impossible to send a Pardot email that has a list of related records… or is it? In this session, Adam Erstelle uncovers strategies…