Activity Forums Salesforce® Discussions Salesforce SOQL query for AccountContactRelation object

  • Gouse Pasha Shaik

    Member
    November 23, 2017 at 6:53 AM

    First allow “Allow users to relate a contact to multiple accounts” in setup –> account settings and then use below query to get the account and contact details.

    select accountid,ContactId from AccountContactRelation

    and use result as per your requirement.

Log In to reply.