#10209 Promote AA0471, AA0472 and AA0474 to Error in the base ruleset
Three analyzer rules (AA0471, AA0472, AA0474) are promoted from None to Error in the base ruleset, with violations in the Withholding Tax app fixed by adding missing AutoFormatExpression attributes to amount fields.
- 4files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-08-14 by JesperSchulz · 4 files (+8 -25), 3 AL · other · tier official · reviewed (checked by Opus)
What changed
- AA0471, AA0472 and AA0474 are moved from None to Error in base.ruleset.json
- AA0472 had no violations, so its override is simply removed
- Missed amount fields in Withholding Tax Entry and WHT Empl. Ledger Entry Ext now use AutoFormatExpression = Rec.“Currency Code”
- WHT Threshold Accumulator gets an empty AutoFormatExpression because it only holds LCY amounts
- AA0473 and AS0112 keep their overrides because CI found hundreds of violations
AL objects touched
- Table extension 6810 “WHT Empl. Ledger Entry Ext”, WithholdingTax: modified
- Table 6794 “WHT Threshold Accumulator”, WithholdingTax: modified
- Table 6788 “Withholding Tax Entry”, WithholdingTax: modified
Context
- Work items: AB#640773
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: development
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).