From Summer 16 release, I can associate a single contact to multiple accounts. However,I am finding it hard to query(SOQL) and get all the related accounts for the contact. Has anyone done this ?
Thanks for the help! Regards Venkat
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
The object you are looking for is the AccountContactRelation.
As an example of how to query these relationships:
SELECT AccountId, ContactId FROM AccountContactRelation