#11154 Fix AL0254 compile error in Stock Register for Job Work report
Stock Register for Job Work report in GST Subcontracting (IN) now compiles by suppressing AL0254 warnings on sort fields from a table extension that lack a covering key.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-08 by mazhelez · 1 file (+2 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- AL0254 compiler rules tightened to validate sort fields from table extensions, not just base tables
- Report failed to compile with two AL0254 errors on Prod. Order No. and Prod. Order Line No. sorting
- Fix uses scoped pragma to suppress AL0254 warnings without adding a key to the shared base table
- Pragma pattern matches existing suppression already in the same report
- No functional or schema changes; compile-only fix with no runtime behavior impact
AL objects touched
- Report 18468 “Stock Register for Job Work”, INGST (IN layer): modified
Context
- Work items: AB#649216
- Labels: Ownership: Needs Review, Team: Other
- Systems: finance
- From the description: “Recent AL compilers tightened AL0254 to also validate sort fields introduced by a table extension.”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).