Question 350
At Brookside Manufacturing, the plant software team is implementing a work-order system upgrade under requirements for planned downtime and production traceability. After the proposed change, the release reviewer requires evidence for: A plug-in needs the old credit limit to compare it with the new value but Target contains only attributes sent by the caller. Which result BEST proves the intended fix is effective?
Explanation
Correct Answer
The comparison uses the actual previous credit limit even when the request contains only the changed field. This directly tests whether the reported failure has been corrected: A plug-in needs the old credit limit to compare it with the new value but Target contains only attributes sent by the caller. The intended action was Register a Pre Image with the required previous fields and read it from execution context. The observed Brookside Manufacturing outcome is stronger evidence than a completed ticket or a saved configuration alone.
Incorrect Answers
Changes to unrelated notes do not invoke the costly path and relevant field edits still trigger validation. Such evidence would validate a different change: An Update plug-in is registered without filtering attributes and runs expensive processing whenever any unrelated column changes. It follows the separate remedy Specify relevant filtering attributes for the Update step and inspect Target before running expensive logic. The Brookside Manufacturing scenario instead reports A plug-in needs the old credit limit to compare it with the new value but Target contains only attributes sent by the caller. The decisive observation must be: The comparison uses the actual previous credit limit even when the request contains only the changed field.
A no-op update avoids unnecessary computation while an actual discount transition is still validated. Such evidence would validate a different change: A plug-in executes a costly rule for every update because it does not distinguish unchanged values from changed attributes. It follows the separate remedy Compare relevant Target fields and appropriate images to execute the rule only when the underlying business state changes. The Brookside Manufacturing scenario instead reports A plug-in needs the old credit limit to compare it with the new value but Target contains only attributes sent by the caller. The decisive observation must be: The comparison uses the actual previous credit limit even when the request contains only the changed field.
The saved contact contains the normalized region and the plug-in does not trigger a second update event. Such evidence would validate a different change: A plug-in must normalize a contact's region code in the incoming record before Dataverse saves the change. It follows the separate remedy Use a synchronous PreOperation step to modify the Target attributes without an unnecessary extra Update call. The Brookside Manufacturing scenario instead reports A plug-in needs the old credit limit to compare it with the new value but Target contains only attributes sent by the caller. The decisive observation must be: The comparison uses the actual previous credit limit even when the request contains only the changed field.