A company requires a data model that links a custom object named Work_Order__c to another custom object named Technician__c in a many-to-many relationship. Additionally, administrators must display the total number of assigned work orders directly on the Technician__c record using native declarative features. Which two configuration steps must the administrator perform to fulfill these requirements? (Choose 2 answers)
- Create a custom junction object with two Master-Detail relationship fields pointing to Work_Order__c and Technician__c.Cevap
- Create a Roll-Up Summary field on the Technician__c object that counts the related junction object records.Cevap
- CCreate a custom junction object with two Lookup relationship fields pointing to Work_Order__c and Technician__c.
- DCreate a Roll-Up Summary field on the Work_Order__c object to aggregate data directly from Technician__c without a junction object.
Cevap
The administrator must create a custom junction object with Master-Detail relationships to both objects and create a Roll-Up Summary field on the Technician__c object.
To create a many-to-many relationship between two objects, a custom junction object with two Master-Detail relationships must be configured. Because the relationship is a Master-Detail, a native Roll-Up Summary field can be placed on the parent object (Technician__c) to count or aggregate the related child junction records.
Adım Adım Çözüm
Anahtar Kavram
Junction Objects and Roll-Up Summary Field Capabilities