220 likes | 595 Views
Object relationship is a concept that is increasingly becoming important in sales. Salesforce has been using object relationships to help its users to get the most out of their work. Check out this presentation on Object relationship in Salesforce by the Blueflame Labs, the salesforce consulting partners. Read now! thttps://www.theblueflamelabs.com/object-relationships-in-salesforce/
E N D
Introduction • Object relationships are a special field type that is created to link Objects with each other. • Due to the relationship user can view the records. • They can see the related list to that records. • For example, By creating a custom relationship field on the object, we can define different types of relationships.
Introduction • Salesforce determines the data deletion, sharing and required field in page layout based on different types of relationships between the objects. • Following are the different types of relationships available in the salesforce 1. Master-Detail Relationship 2. Lookup Relationship 3. Many-to-Many 4. Self Relationship 5. External Lookup 6. Indirect Lookup 7. Hierarchical
Master-detail Relationship • Master-Detail relationship is one type of relationship which forms a tight bond relationship between a parent object and a child object. • Child records should always be associated with a parent they cannot remain orphans. • Cascade record deletions. When a parent object record is deleted all its child records get deleted automatically.
Master-detail Relationship • Standard Objects aren’t allowed to be used as details (Child object). A detail object, for example, cannot be an account. • The master-detail relationship fields are required on the page layouts of the detail object. • Roll-up Summary fields can be created on the Master object(Parent Object.) • Child record inherits all security and sharing settings from its parent record.
Lookup Relationship • Lookup relationship is one type of relationship which forms a loose bond relationship between a parent object and a child object. • In lookup, Child records need not be associated with a parent. • No Cascade record deletion happens. • Read more about Object relationship in Salesforce at the Blueflame Labs, the salesforce consulting partners.