Question 400
A vendor moves invoice surcharge settings from one table to another in a new app version. A targeted trial still reproduces the original gap after the team attempted this change: Implement a controlled upgrade codeunit to migrate records during extension upgrade. Which repair directly addresses the remaining defect?
Explanation
Correct Answer
Fix the upgrade codeunit mapping, ensure version-state guards, and rehearse on historical sandbox data. This directly addresses the remaining defect for the requirement—A vendor moves invoice surcharge settings from one table to another in a new app version. It restores the mechanism described here: upgrade codeunits are designed to transform previously installed extension data when application versions change.
Incorrect Answers
This correction is for the separate condition: Three extensions all implement the same freight-cost calculation with small inconsistent differences. It would not directly restore the intended behavior in this situation: A vendor moves invoice surcharge settings from one table to another in a new app version. Here, fix the upgrade codeunit mapping, ensure version-state guards, and rehearse on historical sandbox data, because upgrade codeunits are designed to transform previously installed extension data when application versions change.
This correction is for the separate condition: An extension must record shipment compliance data after a standard lifecycle event without modifying Microsoft code. It would not directly restore the intended behavior in this situation: A vendor moves invoice surcharge settings from one table to another in a new app version. Here, fix the upgrade codeunit mapping, ensure version-state guards, and rehearse on historical sandbox data, because upgrade codeunits are designed to transform previously installed extension data when application versions change.
This correction is for the separate condition: A tax add-on supports multiple rule providers that all expose the same calculation contract. It would not directly restore the intended behavior in this situation: A vendor moves invoice surcharge settings from one table to another in a new app version. Here, fix the upgrade codeunit mapping, ensure version-state guards, and rehearse on historical sandbox data, because upgrade codeunits are designed to transform previously installed extension data when application versions change.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests