#10088 Harden base ruleset: promote 21 rules back to Error
21 analyzer rules were promoted from Warning back to Error in the base ruleset after measuring violations across all country-specific builds, with source code fixes applied where needed to address the handful of violations found.
- 13files
- 8AL files
- 6objects
Pull request · merged into main (BC30) on 2026-08-11 by JesperSchulz · 13 files (+32 -117), 8 AL · refactor · tier official · reviewed (checked by Opus)
What changed
- 21 rules promoted from Warning to Error: AA0013, AA0189, AA0199, AA0213, AA0230, AA0604, AL0269, AL0424, AL0457, AL0482, AL0551, AL0590, AL0602, AL0775, AL0842, AS0075, AS0079, AS0111, AS0113, AS0126, PTE0017
- Small source fixes (Locked = true, begin placement, application area ordering and casing, redundant ShowAsTree) in 12 app and test files across several country layers
- AS0094, AL1026 and PTE0014 stay as Warning with justifications tied to legacy XML permission sets that still need converting
- Rules with zero violations were promoted outright; rules with a few violations were fixed at source first
- Base ruleset overrides reduced from 127 to 106
AL objects touched
- Codeunit 11029 “IntrastatReportManagementDE”, IntrastatDE (DE layer): modified
- Page 18493 “Subcontracting Order Subform”, INGST (IN layer): modified
- Report 1401 “Check”, Base Application (GB layer): modified
- Codeunit 12150 “VAT Pmt. Comm. XML Generator”, Base Application (IT layer): modified
- Report 10480 “Electronic Carta Porte MX”, Base Application (CA layer): modified
- XMLport 10601 “EHF Reminder 3.0”, Base Application (NO layer): modified
src/Layers/NA/BaseApp/Sales/Document/SalesInvoice.Page.al: modified, not in the BC30 snapshotsrc/Layers/NA/BaseApp/Sales/History/PostedSalesInvoices.Page.al: modified, not in the BC30 snapshot
Context
- Work items: AB#640773
- Labels: Ownership: Needs Review, Team: Other
- Systems: finance, integration, inventory
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).