-
SOQL to fetch account details through a AccountContactRelation 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
Market your Brand Like a Superstar with New Salesforce Marketing Cloud March 2020 Features
For all Salesforce lovers, New Year celebrations begin only when Salesforce release their product updates. So, it is Happy New Year for us all as…
Easy Way to Integrate Salesforce CLI with Visual Studio Code
What is Salesforce CLI? Salesforce CLI is a command-line interface that simplifies development and builds automation when working together with your Salesforce org. Use it…
How To Optimize Organizational Operation To Implement Salesforce Lightning Successfully
Salesforce Lightning is a new platform, given by Salesforce which is crisper and have many new features and a new interface is introduced for the…
Popular Salesforce Videos
Is It Possible To Get 20 Lacs Above Package In Salesforce?
Join this useful group for Salesforce job & career info. Watch this video and join this group to clear all the doubts you have regarding…
Time-based Workflow Rules In Salesforce | Salesforce Tutorial
Learn all about time-based workflow rules in Salesforce. This tutorial will cover the following points - 1. Create A Workflow Rule Learn how a workflow…
How to Prepare for a Salesforce Job Interview
Watch this video to learn how to Prepare for a Salesforce Job Interview.