An administrator is designing a custom data structure to track consulting engagements and specialized team skill certifications. Each consulting engagement can require multiple skill certifications, and each skill certification can be associated with multiple consulting engagements. If a skill certification is deleted, the association to the engagement must be removed automatically without deleting the engagement itself. Additionally, managers need to calculate aggregate metrics on the engagement record, such as the total certification level count. Which two design choices should the administrator implement to meet these business requirements?
- Create a custom junction object that links Consulting Engagement and Skill Certification using two Master-Detail relationships.Cevap
- Define Consulting Engagement as a Master object in a Master-Detail relationship on the junction object to enable roll-up summary fields.Cevap
- CUse Lookup relationships between the junction object and both parent objects so that deleting a Skill Certification leaves the junction records intact for historical auditing.
- DCreate a direct Lookup relationship from Consulting Engagement to Skill Certification and add a roll-up summary field directly on the Consulting Engagement object.
Cevap
The administrator must create a custom junction object with two Master-Detail relationships to establish a many-to-many model, and define Consulting Engagement as a Master object on that junction object to enable roll-up summary calculations.
To model a many-to-many relationship between Consulting Engagement and Skill Certification, a custom junction object with Master-Detail relationships to both objects must be created. Building a Master-Detail relationship where Consulting Engagement is the Master permits the creation of native Roll-Up Summary fields on Consulting Engagement to aggregate child records, while ensuring junction records are deleted if a Skill Certification is removed.
Adım Adım Çözüm
Anahtar Kavram
Many-to-Many Relationships and Roll-Up Summary Requirements
Tahmini Süre:2m 0s