-
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
Top Salesforce Acquisitions of All-Time-Updated 2021
Salesforce is growing at an inconceivably quick rate. The cloud computing company is on a quest to recognize gaps in their existing portfolio and fill…
4 Financial Service Trends for Businesses and FSIs | Salesforce Financial Services Cloud
Digital adoption has increased in the past few years, especially across banking, insurance, and wealth management segments. It has shown a steady growth despite the…
Popular Salesforce Videos
How you can Increase your Salesforce Efficiency and Productivity
In this video, Brad discusses how to increase your workplace efficiency and productivity using various Google Chrome extensions and techniques. As always, we have linked…
How To Get Exam Voucher For Salesforce?
Wondering How To Get Exam Vouchers For Salesforce? Join this useful group for Salesforce job & career info and learn all you need to know…