APICS Certified Supply Chain Professional (CSCP) — Question 329
A company uses Microsoft Dataverse rollup fields to calculate insurance exposure and risk profiles for customers.
Users report that the system does not update values for the rollup fields when new insurance policies are written.
You need to recalculate the value of the rollup fields immediately after a policy is created.
What should you do?
Answer options
- A. Create new fields on the customer entity for insurance exposure and risk. Write a workflow process that is triggered when a new policy record is created to calculate the sum of values from policy records.
- B. Update the Mass Calculate Rollup Field job to trigger when a new policy record is created.
- C. Create new calculated fields on the customer entity for insurance exposure and risk. Create a formula to calculate the sum of values from policy records.
- D. Create a plug-in that uses the CalculateRollupFieldRequest method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in.
Correct answer: D
Explanation
The correct answer is D because creating a plug-in that uses the CalculateRollupFieldRequest method allows for immediate recalculation of the rollup fields as soon as a policy is created. Options A and C suggest creating new fields instead of recalculating existing rollup fields, while option B does not provide a way to trigger an immediate update after the record creation.