-
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
How Salesforce Partner Portal Help Strengthen Partnerships?
Businesses in every niche and industry are worried about one of the most critical aspects—strengthening partner connections. But why? By building better connections, businesses can…
Schedular Class in Salesforce | Apex Developer Guide
Scheduler Class To arrange a Pinnacle course to run at standard extends, to begin with, compose a Pinnacle lesson that actualizes the Salesforce-provided interface Schedulable.…
All You Need to Know About Salesforce Net Zero Marketplace
You may have heard of the Salesforce Net Zero Marketplace and be wondering how it fits into the Salesforce world and Net Zero Cloud. Here…
Popular Salesforce Videos
How To Use Salesforce Marketing Cloud Automation Studio
In this video, you will learn how to use Salesforce Marketing Cloud Automation Studio which will help in automating various processes. The following points will…
Salesforce Tutorial - What Is Data Loader
Generally, in the Declarative approach, developer enters data with page-layout, Data Loader is an amazing tool for bulk data processing. I have seen many migration…
Salesforce - The Ultimate Career Booster | Salesforce Tutorials For Beginners
This Salesforce Training Webinar will help you understand how Salesforce is the ultimate career booster for IT, Sales and Marketing. You will learn the Roadmap…