Question 30
At fictional Evergreen Print, the Business Central development team is supporting print production scheduling and reviewing AL business logic and user experience during an integration contract review (MB820-4.2-145). The observed development issue is that a warehouse team requests a numeric free-text status to model a process with named approval states. Which recurring engineering check would best prevent this issue from returning?
Explanation
Correct Answer
The ongoing check is to validate state transition tests after adding status values. This helps detect recurrence when a warehouse team requests a numeric free-text status to model a process with named approval states. The associated correction is to use an appropriate enum/state model with controlled business transitions; a confirming result is that records move only through permitted states and remain intelligible to users.
Incorrect Answers
“Block direct mutation of posted business records in code review” supports the separate task “follow the documented posting and corrective-document patterns instead of editing immutable history”, not the reported problem: a warehouse team requests a numeric free-text status to model a process with named approval states. This case instead calls for “Validate state transition tests after adding status values”.
“Test concurrent document creation and number allocation” concerns the separate step “use supported numbering and posting design patterns for document identifiers”. The reported issue is that a warehouse team requests a numeric free-text status to model a process with named approval states, so the direct response is to validate state transition tests after adding status values.
The proposed “Run reconciliation tests after posting extensions” tests a different control: use supported posting codeunits and integration events to preserve core business invariants. The reported condition is that a warehouse team requests a numeric free-text status to model a process with named approval states; the more direct action is to validate state transition tests after adding status values.