Question 60
At fictional Evergreen Print, the Business Central development team is supporting print production scheduling and reviewing object model and application extensibility during an extension maintenance sprint (MB820-3.1-054). The observed development issue is that an application stores stable product categories as free text and receives inconsistent category spellings. Which AL development or design response most directly addresses this issue?
Explanation
Correct Answer
The most direct corrective response is to model categories with a supported enum or related lookup table appropriate to extensibility requirements. This addresses the specific failure where an application stores stable product categories as free text and receives inconsistent category spellings. Acceptance evidence is that new records accept controlled category values without arbitrary unsupported strings.
Incorrect Answers
The proposed “Use a compatible field design and controlled initialization that respects existing rows” tests a different control: use a compatible field design and controlled initialization that respects existing rows. The reported condition is that an application stores stable product categories as free text and receives inconsistent category spellings; the more direct action is to model categories with a supported enum or related lookup table appropriate to extensibility requirements.
“Use pageextension action modifications at a suitable existing placement” supports the separate task “use pageextension action modifications at a suitable existing placement”, not the reported problem: an application stores stable product categories as free text and receives inconsistent category spellings. This case instead calls for “model categories with a supported enum or related lookup table appropriate to extensibility requirements”.
“Create a tableextension to add the field and a pageextension to surface it on the customer page” concerns the separate step “create a tableextension to add the field and a pageextension to surface it on the customer page”. The reported issue is that an application stores stable product categories as free text and receives inconsistent category spellings, so the direct response is to model categories with a supported enum or related lookup table appropriate to extensibility requirements.