Question 510
An AL extension team encounters the following situation: A developer places a long-running external HTTP call inside a table validation event that is triggered for many records. Which technical principle best explains the relevant risk or failure?
Explanation
Correct Answer
Table validation must remain reliable and should not inherit unbounded network latency. The corresponding corrective design is to move orchestration into an appropriate bounded service flow and keep validation deterministic and efficient. A passing check is: Bulk record updates complete consistently when the external service is delayed.
Incorrect Answers
This alternative addresses the separate case “A page action contains hundreds of lines of financial logic and is copied into a second page action”. The underlying mechanism is that duplicating financial rules across UI actions causes drift and inconsistent corrections. The deciding requirement here is “Table validation must remain reliable and should not inherit unbounded network latency”.
The option would apply to “An extension must coordinate work after a successful operation without relying on an undocumented base-app trigger”. Documented events are safer extension boundaries than private implementation assumptions. This question instead requires “Table validation must remain reliable and should not inherit unbounded network latency”.
The related but distinct situation is “A partner wants to extend approval handling without changing a standard codeunit”. An event-based extension point permits independent logic without replacing the publisher's code. For the stated problem, “Table validation must remain reliable and should not inherit unbounded network latency” addresses the central condition.