Which two actions should a developer take to accomplish the following task? A company wants to create an employee rating program that allows employees to rate each other.¬†An employees average rating Must be displayed on the employee record.¬†Employees Must be able to create rating records but are not allowed to create employee records.¬†
A. Create a trigger on the Rating object than updates a field on the Employee object. B. Create a roll-up summary field on the Employee and use AVG to calculate the average rating score. C. Create a lookup relationship between the Rating and Employee object. D. Create a master-detail relationship between the Rating and Employee objects.
Define roll-up summary fields on the object that is on the master side of a master-detail relationship. If a relationship does not already exist, first create a master-detail relationship between the master object that displays the value and the detail object containing the records you are summarizing.