Question 310
A Business Central developer must validate a correction for this condition: A partner wants to extend approval handling without changing a standard codeunit. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
A subscriber receives the intended context while the standard operation still completes. would provide case-specific evidence of a successful correction. An event-based extension point permits independent logic without replacing the publisher's code. The corresponding action is Use a suitable integration event publisher/subscriber design rather than copying the whole routine.
Incorrect Answers
A successful test of that kind may follow correct the EventSubscriber binding to the published event's object, name, and parameters. Here it would not prove the rule that an event-based extension point permits independent logic without replacing the publisher's code.
It tests an unrelated workflow: A page action contains hundreds of lines of financial logic and is copied into a second page action. In this case the specific acceptance evidence is A subscriber receives the intended context while the standard operation still completes.
The related but distinct situation is “A newly installed app needs an initial setup row that should exist only once”. 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. For the stated problem, “A subscriber receives the intended context while the standard operation still completes” addresses the central condition.