-
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
Integrate Your Vanilla-Community With Salesforce to Deliver Seamless, Efficient Support
According to a survey conducted by Gartner, 62% of millennials and 75% of GenZ customers prefer self-service instead of seeking assistance from support reps. As a result, online…
All About Big Objects in Salesforce
In Salesforce, We already know about Standard objects, Custom objects, and External Object. These objects assist you to handle and operate data. But if we…
Dashboards in Salesforce - A Brief Guide
Dashboards in Salesforce are graphical representations of reports. Visualize data from reports as components. These components provide a summary of your organization's key analytics and…
Popular Salesforce Videos
How to Create Contact in Salesforce | Salesforce Contacts | Salesforce Tutorial
Contact in Salesforce represents the individual people associated with the business accounts in your organization or Contact records are used for individuals to store personal…
Marc Benioff talks Salesforce - AT&T deal, office health safety and online media regulation
Salesforce’s Customer 360 will enable AT&T to deliver highly-tailored customer experiences seamlessly across retail, marketing, online, business, and more. AT&T will utilize Salesforce’s entire portfolio…
Types of Generative AI Models | How Does Generative AI Work?
Have you ever wondered how AI can be so creative? How do they generate art, music, and even text all on their own? Look no…