A company has a custom object, Sales_Help_Request__c, that has a Lookup relationship to Opportunity. The Sales_Help_Request__c has a number field, Number_of_Hours__c, that represents the amount of time spent on the Sales_Help_Request__c. A developer is tasked with creating a field, Total_Hours__c, on Opportunity that should be the sum of all of the Number_of_Hours__c values for the Sales_Help_Request__c records related to that Opportunity. What should the developer use to implement this?
A. A roll-up summary field on the Opportunity object
B. A trigger on the Opportunity object
C. A record-triggered flow on the Sales_Help_Request__c object
D. A roll-up summary field on the Sales_Help_Request__c object
Suggest answer: C
Reference:
No comments:
Please share to make the community better.