+ Start a Discussion
kurtz_wolfgangkurtz_wolfgang 

AccountContactRole question

Hello All,

 

  A very simple question: How are the AccountContactRole records inserted? I mean right now in our system I see that there accounts and contacts, but no AccountContactRole records generated. Creating a new AccountContactRole through the related list on Account, is that the only way?

 

Greatly appreciate your inputs on this issue.

 

Regards,

KB

Best Answer chosen by Admin (Salesforce Developers) 
Mitesh SuraMitesh Sura

Below query will give you an idea how Account and Contact are related

SELECT id, AccountId, ContactId, Role FROM AccountContactRole

 AccountContactRole is a joining object between those 2 accounts. You can use DataLoader to insert AccountContactRoles. 

Just have right Account Id, Contact Id, and Role Name, and insert it. 

 

SF Partner