-
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
Top7 Benefits of Using Salesforce CDP in 2023
Summer ’21 was the relaunch of Customer 360 Audience, which brought Salesforce CDP to the forefront. In previous articles, we explained what a CDP consists…
All You Need to Know About Test Class in Salesforce
Test classes in Salesforce are a vital component of the Salesforce development process. These classes are used to test the functionality and effectiveness of Apex…
How to Easily Choose the Top Salesforce Consulting Partner in the UK?
Choosing the right Salesforce consulting partner can be a game-changer for your business, especially in a competitive market like the UK. With numerous consulting firms…
Popular Salesforce Videos
Integrating Salesforce Data Cloud With Other Clouds
In this extract, our speakers discussed the integration capabilities of the Salesforce Data Cloud with other clouds. Salesforce data cloud integrates with a wide range…
Salesforce Chatter Tutorial | Chatter Overview And Demo | Chatter In Salesforce
This Salesforce Chatter Tutorial will give an overview of Chatter which includes enabling chatter, configuring chatter groups and creating customer groups. Salesforce Chatter will be…
What All Industries Are Covered By Salesforce Industries?
Salesforce Industries offers a collection of 12 industry clouds that are suited to the best practices for these sectors. Salesforce Industries aids businesses in navigating…