---
id: change/bcapps/10514
type: change
title: "#10514 Ruleset hardening: promote AS0022, AA0087, AW0003, AA0203, AL0717 to Error"
summary: Five analyzer rules (AS0022, AA0087, AW0003, AA0203, AL0717) are promoted from Warning to Error by removing their overrides from the shared ruleset, with targeted pragmas added to suppress specific violations.
tier: official
language: en
tags:
  - other
  - main
  - bc30
  - table script editor line
  - codeunit service posting subscr. es
  - table statutory report data header
  - page purchase document entity
  - report movement list
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:03.214Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6734498ab6431fd52641e5237048563ae9502028
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10514
    title: "microsoft/BCApps#10514: Ruleset hardening: promote AS0022, AA0087, AW0003, AA0203, AL0717 to Error"
    date: "2026-08-31"
    commit: 6734498ab6431fd52641e5237048563ae9502028
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/20201
    - object/codeunit/10789-es
    - object/table/26563-ru
    - object/page/6404
    - object/report/7301
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10514
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10514
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-31T15:40:06Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: other
behavior_change: false
breaking: false
files:
  count: 7
  additions: 12
  deletions: 24
  al: 5
apps:
  - Base Application
  - INTaxEngine
objects_touched:
  - key: table/20201
    page: table/20201
    type: table
    id: 20201
    name: Script Editor Line
    app: INTaxEngine
    status: modified
  - key: codeunit/10789
    page: codeunit/10789-es
    type: codeunit
    id: 10789
    name: Service Posting Subscr. ES
    app: Base Application
    status: modified
  - key: table/26563
    page: table/26563-ru
    type: table
    id: 26563
    name: Statutory Report Data Header
    app: Base Application
    status: modified
  - key: page/6404
    page: page/6404
    type: page
    id: 6404
    name: Purchase Document Entity
    app: Base Application
    status: modified
  - key: report/7301
    page: report/7301
    type: report
    id: 7301
    name: Movement List
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640773
systems:
  - development
  - finance
  - integration
  - service
  - warehouse
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10514 Ruleset hardening: promote AS0022, AA0087, AW0003, AA0203, AL0717 to Error

> Five analyzer rules (AS0022, AA0087, AW0003, AA0203, AL0717) are promoted from Warning to Error by removing their overrides from the shared ruleset, with targeted pragmas added to suppress specific violations.

[Pull request](https://github.com/microsoft/BCApps/pull/10514) · merged into `main` (BC30) on 2026-08-31 by JesperSchulz · 7 files (+12 -24), 5 AL · other · tier official · reviewed (checked by Opus)

## What changed

- Five AL analyzer rules moved back to Error severity in the ruleset hierarchy
- 94 ruleset overrides reduced to 89 by removing five rule suppression entries
- Each remaining violation suppressed with narrowly scoped pragmas rather than repo-wide disabling
- Violations ranged from none to three across 1-2 files per rule
- Scope established through comprehensive diagnostic census from green CI builds covering 855 of 877 projects

## AL objects touched

- [Table 20201 "Script Editor Line"](../../objects/table/20201.md), INTaxEngine: modified
- [Codeunit 10789 "Service Posting Subscr. ES"](../../objects/codeunit/10789-es.md), Base Application (ES layer): modified
- [Table 26563 "Statutory Report Data Header"](../../objects/table/26563-ru.md), Base Application (RU layer): modified
- [Page 6404 "Purchase Document Entity"](../../objects/page/6404.md), Base Application: modified
- [Report 7301 "Movement List"](../../objects/report/7301.md), Base Application: modified

## Context

- Work items: AB#640773
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: development, finance, integration, service, warehouse

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