Exploring objects associated with Accounts and Contacts
Despite having an explicit relationship between each other, where multiple Contact records can belong to the same Account, there are a couple of additional objects that allow for context to be given to the relationship between the records of these two objects.
Now, let’s explore the various Account and Contact object associations, starting with AccountContactRelation
.
AccountContactRelation
We described the Contacts to multiple Accounts feature earlier in this chapter, thus covering how a single Contact record can be associated with more than one account. Well, the AccountContactRelation
object is the underlying data model entity that facilitates this Salesforce feature.
The AccountContactRelation
object essentially acts as a junction object between Account and Contact. Some standard fields are used to provide context about the relationship a Contact has to an Account. These can include things such as Start...