What Are Object Relationships
special field type that connects two objects together.
example of a standard relationship in Salesforce IS
The Account to Contact relationship
Can you build custom relationships?
different kinds of relationships you can create in Salesforce. are
Define Lookup Relationships
relationship between the two objects
links two objects together so that you can “look up” one object from the related items on another object.
Lookup relationships can be one-to-one or one-to-many
can stand alone
Define Master-Detail Relationships
This type of relationship, one object is the master and another is the detail.
The master object controls certain behaviors of the detail object, like who can view the detail’s data.
Ex Property and Offer, delete property(master) and the offers link (detail) will delete
the detail object doesn’t work as a stand-alone. It’s highly dependent on the master
Would should you do when you’re creating master-detail relationships?
Always create the relationship field on the detail object.
ex. link the relationship on the offer (detail object)