Podcast
Questions and Answers
Which relationship type supports roll-up summary fields?
Which of the following relationship types is dependent and has a deletion cascade effect?
What is the maximum number of Master-Detail relationships allowed per object?
Which relationship type allows for unlimited relationships via a junction object?
Signup and view all the answers
Which relationship type requires a parent record to exist before a child record can be created?
Signup and view all the answers
What is a key characteristic of a Lookup Relationship?
Signup and view all the answers
Which relationship type allows for roll-up summary fields?
Signup and view all the answers
What happens to child records if a Master record is deleted?
Signup and view all the answers
Which of the following is true about Hierarchical Relationships?
Signup and view all the answers
How many Master-Detail Relationships can be created on a single object?
Signup and view all the answers
Which statement best describes the difference between Lookup and Master-Detail Relationships?
Signup and view all the answers
In a Lookup Relationship, what is the implication of deleting the parent record?
Signup and view all the answers
What type of relationship allows one user to reference another user in a hierarchical manner?
Signup and view all the answers
What is a Many-to-Many Relationship characterized by?
Signup and view all the answers
Which statement is true regarding the Indirect Lookup Relationship?
Signup and view all the answers
What is one property of an External Lookup Relationship?
Signup and view all the answers
How does a Many-to-Many Relationship compare to a Master-Detail Relationship?
Signup and view all the answers
Which feature is unique to the Many-to-Many Relationship?
Signup and view all the answers
What is a defining characteristic of a Lookup Relationship?
Signup and view all the answers
Which statement is accurate regarding the properties of a Many-to-Many Relationship?
Signup and view all the answers
What limitation is associated with a Lookup Relationship as compared to a Many-to-Many Relationship?
Signup and view all the answers
Study Notes
Different Relationship Types in Salesforce
-
Salesforce relationships connect objects, linking data.
-
Lookup relationships are loose connections.
- One object references another.
- Deleting one doesn't affect the other.
- Example: Contact referencing an Account.
- Not mandatory for a related parent.
- Child records are separate.
- Up to 40 lookups per object.
- No roll-up summary fields.
-
Master-Detail relationships are tight connections.
- Deleting a parent deletes child records.
- Example: Account and Opportunity, if the account is deleted, all opportunities linked to that account are also deleted.
- Parent is required for child records.
- Deleting the parent also deletes the child.
- Allows roll-up summary fields (like sum, counts).
- Up to 2 master-detail relationships per object.
-
Hierarchical Relationships are a lookup type.
- Only for User objects.
- Manager-employee structure.
- No roll-up summary fields.
-
Many-to-Many Relationships connect multiple records through a junction object.
- Multiple records from one object can be related to multiple from another.
- Uses a junction object (custom).
- Example: Students and courses (through a course enrollment).
- Supports roll-up summary fields.
-
External Lookup Relationships link Salesforce objects with external systems.
- Used to integrate data from other databases.
- Example: Salesforce Order Object linked to an ERPOrder.
- Up to 25 external lookups per object.
- Requires unique identifiers for linking.
-
Indirect Lookup Relationship links a child external object to a parent standard/custom Salesforce object.
- External object linked to a Salesforce orgs parent object.
- Example: OrderHistory linked to an Account
- Parent must have unique custom field for linking.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge on the different relationship types in Salesforce. Explore lookup, master-detail, and hierarchical relationships, including their characteristics and implications for data linking. This quiz is ideal for those looking to deepen their understanding of Salesforce data structures.