Question 520
A Business Central developer must validate a correction for this condition: A newly installed app needs an initial setup row that should exist only once. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
This result checks the customer-visible or technical outcome, rather than just compilation: A fresh install creates one setup row and repeat deployment does not create extras. It tests the rule that installation lifecycle behavior differs from repeatedly running an ordinary page action.
Incorrect Answers
That result would validate work on a page action contains hundreds of lines of financial logic and is copied into a second page action. It does not confirm this case's intended outcome: A fresh install creates one setup row and repeat deployment does not create extras.
The proposed evidence belongs to a project wants to invoke a codeunit by reference but its external consumers cannot access private members. For the reported condition, the developer should first use appropriate install codeunit initialization with checks against creating duplicates.
This option serves the scenario “A company upgrades an app and must transform old shipment flags into a new status enum while preserving records”. This result checks the customer-visible or technical outcome, rather than just compilation: A rehearsal upgrades a populated tenant without losing record meaning or duplicating conversions. The present scenario is distinguished by “A fresh install creates one setup row and repeat deployment does not create extras”.