code change · refactorFinanceofficial - Microsoftreviewed - checked by Opus

#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.

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

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).