-
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
Salesforce CRM, NetSuite ERP Integration: Benefits, Guide, Best Practices
NetSuite is the #1 Cloud ERP. In 2022, NetSuite became a leader in the Gartner Magic Quadrant for Cloud ERP for Service-Centric Enterprise. As you…
Salesforce Lightning Ready Toggle
Nowadays most of the salesforce projects are shifted to Lightning Ready and jQuery acts as a very good tool while designing Lightning Ready Pages. In…
Salesforce & SharePoint Integration – A Combination To Enhance Business Processes
Salesforce SharePoint Integration – Salesforce is the world’s #1 cloud-based CRM giant offering comprehensive CRM solutions to millions of leading brands across the globe. However,…
Popular Salesforce Videos
How to Configure SAML Single Sign-On with Salesforce as the Identity Provider
Configure single sign-on with a Salesforce org as the identity provider for an external Heroku app acting as the service provider, using SAML. Watch this…
Real Time Synchronization between Salesforce and Quickbooks | eShopSync for Quickbooks
Now you can easily sync your data between Quickbooks and Salesforce through Real-Time Synchronization Feature, which allows you to import data from Salesforce to Quickbooks.…
Lightning Component In Salesforce
In this video, we are going to look into: Lightning Component Lightning Component features Types of Lightning Component Lightning Component bundle Watch this video and…