-
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
Things You Need to Consider While Integrating WordPress and Salesforce
WordPress and Salesforce are no less than a match made in heaven. When you go for a WordPress Salesforce Integration (WordPress website with Salesforce as…
The Impact of Salesforce Certification on Your Salesforce Career
Introduction In today's fast-paced and highly competitive job market, having a Salesforce certification can make all the difference in your Salesforce career. Whether you're already…
How to Choose the Perfect Salesforce Consulting Partner?
Introduction Choosing the right Salesforce consulting partner is a critical decision that can significantly impact the success of your Salesforce implementation. A reliable and experienced…
Popular Salesforce Videos
Create Custom App in Salesforce | Salesforce Custom App | Salesforce Tutorial
Watch this amazing video to learn how to create a custom app in Salesforce. Salesforce is a cloud-based platform that has transformed how companies have…
Algoworks attended Dreamfest 2019!
Algoworks attended Dreamfest 2019 and we had the most enjoyable time ever! Fleetwood Mac played at the venue and the crowd went crazy, energy was…
Introduction to Lightning Web Components | Hello World | Key Concepts
In this video, We are going to learn the new concept/technology that Salesforce has recently introduced to us. Below is the agenda that we are…