APICS Certified Supply Chain Professional (CSCP) — Question 253
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 calculated fields on the customer entity for insurance exposure and risk. Configure the formula to calculate the sum of values from policy records.
- B. Create a plug-in that uses the update method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in.
- C. Create new fields on the customer entity for insurance exposure and risk. Write a plug-in that is triggered whenever a new policy is created.
- D. 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.
Correct answer: B
Explanation
The correct answer is B, as creating a plug-in that specifically uses the update method allows for immediate recalculation of the rollup fields right after a policy is created. Option A is incorrect because creating calculated fields does not trigger updates. Option C suggests a plug-in but lacks the immediate update mechanism. Option D involves a workflow process which may not execute as promptly as a plug-in in response to a new policy creation.