code change · refactorFinanceofficial - Microsoftreviewed - checked by Opus

#10878 Ruleset hardening: promote five low-risk rules to Error

Removes the Warning overrides for AL0254, AL0523, AA0242, AA0224 and AW0007 from the base ruleset so they apply as errors. The findings are fixed in code across many localization layers, with narrow suppressions kept for accepted existing behavior.

Pull request · merged into main (BC30) on 2026-09-03 by JesperSchulz · 52 files (+280 -59), 50 AL · refactor · tier official · reviewed (checked by Opus)

What changed

  • Five rules (AL0254, AL0523, AA0242, AA0224, AW0007) now apply at Error level in the repo ruleset
  • Partial-record loads fixed by adding fields to SetLoadFields calls
  • Missing captions added and prepayment test report request options separated from the internal option
  • New Employee Ledger Entry keys added for Closed by Entry No. and NL proposal sorting
  • 46 ID-qualified suppressions kept; overrides drop from 81 to 76

AL objects touched

Context

  • Work items: AB#640773
  • Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
  • Systems: finance, development, inventory, purchasing, sales, hr, administration, integration, manufacturing

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