Developer Fundamentals 3 Flashcards
Salesforce Data Model | Objects | Fields | Relationships | External Ids (159 cards)
What is a Business Object?
Business objects, including Account, Contact, Opportunity, and Case, are provided by Salesforce, which means that custom objects are not required for them.
What are custom Objects used for?
Custom objects are used to store information specific to the company or organization, such as properties or employees.
What are the different types of relationships?
Lookup
Master Detail
Many to Many
External Lookup
Indirect Lookup
Hierarchical
While objects in a lookup relationship are loosely coupled, objects in a master-detail relationship are tightly coupled. True or False?
True
What does a lookup relationship do?
Link two different objects in a loose relationship where the parent and child records have independent sharing settings and are deleted separately.
What does a master detail relationship do?
Link two different objects in a tight relationship where the sharing settings of the child record depend on the parent’s, and deleting the parent also deletes the child record.
While a many-to-many relationship requires a third object in order to create the relationship, the <Blank> object is only what is needed in a hierarchical relationship</Blank>
User Object
What does a many to many relationship do?
Link two objects such that a record of one object can be related to multiple records of another and vice versa.
What does a hierarchical relationship do?
Create a lookup field to associate one user with another that does not directly or indirectly refer to itself.
What does a External Lookup relationship do?
Link a child standard, custom, or external object to a parent external object using the standard External ID field.
What does an Indirect Relationship do?
Link a child external object to a parent standard or custom object through a custom unique, External ID field.
Parent and child objects have independent sharing settings. Each object has an owner field. True or False?
True for lookup relationships
False for master detail
Records of the child object will appear in a related list on the parent record. True or False?
True
Can you delete the parent of a lookup relationship?
The parent can be prevented from being deleted if children exist. Children can also be deleted when parent is deleted (requires Salesforce support).
Do Lookup relationships support roll-up summary fields?
Lookup relationships can link two objects together. They are similar to master-detail relationships but they do not support roll-up summary fields or sharing.
Lookup relationships allow one object to be related to another in a one-to-many relationship. True or False?
True
Lookup relationships can link one object with itself.
True
Where is the related list added in a lookup relationship?
Related lists are added to the Lookup Object.
Is Child access inherited from the parent?
No. Access to child records is independent from access to parent records.
Standard report types are created for each lookup relationship. True or False?
True
True or False? Once a lookup relationship is defined, a related list that shows the child records can be added to the page layout of the lookup object.
True
A custom report type can be created if additional fields from the lookup object are required for the purpose of reporting. True or False?
True
What is a Master Detail Relationship?
A master-detail relationship can be used to link two objects together closely.
Is record security inherited in a master detail relationship?
Yes. The detail records inherit the sharing and security settings of the master record.