#10516 Ruleset hardening: promote AL0468, AL0520, AL0589, AL0611, AL0749, AW0004 to Error
Six AL compiler rules are promoted from Warning to Error severity in the base ruleset, with all existing accepted violations marked by pragmas at their source locations to enforce the rules going forward.
- 36files
- 34AL files
- 34objects
Pull request · merged into main (BC30) on 2026-08-27 by JesperSchulz · 36 files (+96 -31), 34 AL · refactor · tier official · reviewed (checked by Opus)
What changed
- AL0468, AL0520, AL0589, AL0611, AL0749, and AW0004 rules moved from ruleset overrides to Error level
- 45 deliberate violations suppressed with scoped pragmas at call sites instead of remaining invisible as repo-wide warnings
- New violations of these rules now fail the build; known violations stay documented in the code
- Ruleset simplification reduces override count from 94 to 88
- Changes include table extensions, pages, codeunits and reports across localization and base application modules
AL objects touched
- Table extension 31025 “Intrastat Jnl. Batch CZL”, CoreLocalizationPack (CZ layer): modified
- Table extension 31026 “Intrastat Jnl. Line CZL”, CoreLocalizationPack (CZ layer): modified
- Table extension 11722 “Invoice Post. Buffer CZL”, CoreLocalizationPack (CZ layer): modified
- Table extension 13621 “PaymentBuffer”, FIK (DK layer): modified
- Table extension 13643 “OIOUBL-IssuedFinChrgMemoHeader”, OIOUBL (DK layer): modified
- Table extension 13638 “OIOUBL-Issued Reminder Header”, OIOUBL (DK layer): modified
- Table extension 13632 “OIOUBL-Sales Cr.Memo Header”, OIOUBL (DK layer): modified
- Table extension 13646 “OIOUBL-Sales Header”, OIOUBL (DK layer): modified
- Table extension 13649 “OIOUBL-Sales Header Archive”, OIOUBL (DK layer): modified
- Table extension 13630 “OIOUBL-Sales Invoice Header”, OIOUBL (DK layer): modified
- Table extension 13657 “OIOUBL-Service Cr.Memo Header”, OIOUBL (DK layer): modified
- Table extension 13655 “OIOUBL-Service Invoice Header”, OIOUBL (DK layer): modified
- Table extension 18244 “GST Invoice Pos Buffer”, INGST (IN layer): modified
- Table extension 12216 “Service Decl. Line IT”, ServiceDeclarationIT (IT layer): modified
- Codeunit 1450 “MS - Yodlee Service Mgt.”, EnvestnetYodleeBankFeeds (CA layer): modified
- Table extension 10687 “Elec. VAT Code”, ElectronicVATSubmission (NO layer): modified
- Table extension 10675 “SAF-T VAT Code”, NorwegianSAFT (NO layer): modified
- Table extension 4853 “AutoAcc. Invoice Post. Buffer”, AutomaticAccountCodes: modified
- Page extension 20631 “Purchase Agent Activities BF”, BasicExperience: modified
- Page extension 20659 “SO Processor Activities BF”, BasicExperience: modified
- Page extension 20657 “Small Business Owner Act BF”, BasicExperience: modified
- Codeunit 20165 “Script Editor Mgmt.”, INTaxEngine: modified
- Page 20259 “Tax Attribute Value Dialog”, INTaxEngine: modified
- Page 20283 “Switch Statements”, INTaxEngine: modified
- Codeunit 20301 “Tax Document Stats Mgmt.”, INTaxEngine: modified
- Table extension 2025 “MS - Image Analyzer Setup”, ImageAnalysis: modified
- Table 2028 “MS - Image Analyzer Tags”, ImageAnalysis: modified
- Report 28160 “G/L Journal”, Base Application (AU layer): modified
- Report 10480 “Electronic Carta Porte MX”, Base Application (CA layer): modified
- Page 2588 “Dimension Correction”, Base Application: modified
- Page 5353 “CRM Sales Order List”, Base Application: modified
- Page 6402 “Sales Document Entity”, Base Application: modified
- Page 5339 “Integration Synch. Error List”, Base Application: modified
- Page 1316 “Accountant Portal User Tasks”, Base Application: modified
Context
- Work items: AB#640773
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: finance, sales, integration, service, development, inventory, platform, purchasing
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).