Question 650
At fictional Evergreen Print, the Business Central development team is supporting print production scheduling and reviewing object model and application extensibility during a sandbox design review (MB820-3.4-103). The observed development issue is that a business process needs initial setup data on first install and updated configuration during an app version change. Which recurring engineering check would best prevent this issue from returning?
Explanation
Correct Answer
The ongoing check is to test both zero-data and historical-data upgrade paths. This helps detect recurrence when a business process needs initial setup data on first install and updated configuration during an app version change. The associated correction is to use distinct Install and Upgrade codeunits, implementing the appropriate lifecycle triggers; a confirming result is that fresh installations and upgrades apply only their intended initialization or migration actions. Applied here, the relevant facts are: The observed development issue is that a business process needs initial setup data on first install and updated configuration during an app version change. The question asks which recurring engineering check would best prevent this issue from returning.
Incorrect Answers
“Test all business entry points for the rule” supports the separate task “subscribe to an appropriate published business event or design a reusable codeunit validation at the relevant process boundary”, not the reported problem: a business process needs initial setup data on first install and updated configuration during an app version change. This case instead calls for “Test both zero-data and historical-data upgrade paths”.
“Use unit tests to detect divergent calculation paths” concerns the alternative task “move reusable logic to an appropriate codeunit and call it through a stable interface”, but the stated failure is that a business process needs initial setup data on first install and updated configuration during an app version change. The required measure is to test both zero-data and historical-data upgrade paths.
The proposed “Scan high-impact extension code for unexpected commits” tests a different control: review transaction boundaries and remove unintended commits from reusable business logic. The reported condition is that a business process needs initial setup data on first install and updated configuration during an app version change; the more direct action is to test both zero-data and historical-data upgrade paths.