---
id: change/bcapps/10559
type: change
title: "#10559 Ruleset hardening: promote AL0659 and AL0685 to Error"
summary: AL0659 and AL0685 overrides are removed from base.ruleset.json, so both analyzer rules now inherit Error severity. The existing violations at 53 sites are suppressed with pragmas instead of renaming enums or changing schemas, because those fixes would be breaking.
tier: official
language: en
tags:
  - refactor
  - main
  - bc30
  - enum swiss qr-bill payment reference type
  - enum intrastat submission channel de
  - table gst journal template
  - table tcs journal template
  - table tds journal template
  - table domiciliation journal template
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:33.570Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: b3a8ac793ebdf4f3b34903ef807521ae87c19266
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10559
    title: "microsoft/BCApps#10559: Ruleset hardening: promote AL0659 and AL0685 to Error"
    date: "2026-08-27"
    commit: b3a8ac793ebdf4f3b34903ef807521ae87c19266
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/enum/11512-ch
    - object/enum/11035-de
    - object/table/18323-in
    - object/table/18871-in
    - object/table/18748-in
    - object/table/2000020-be
    - object/table/2000000-be
    - object/table/11005-at
    - object/table/11004-at
    - object/table/11006-at
    - object/table/26100-at
    - object/enumextension/26101-at
    - object/table/10724-es
    - object/enum/10755-es
    - object/enum/10756-es
    - object/enum/10715-es
    - object/enum/10714-es
    - object/table/11204-fi
    - object/table/12122-it
    - object/table/11000005-nl
    - object/enum/11000007-nl
    - object/enum/85
    - object/table/17313-ru
    - object/table/17319-ru
    - object/table/17307-ru
    - object/table/17303-ru
    - object/table/17211-ru
    - object/table/17203-ru
    - object/table/17207-ru
    - object/table/23
    - object/table/18
    - object/table/11204-se
    - object/table/6404
    - object/table/6206
    - object/enumextension/99000776
    - object/enumextension/99000780
    - object/enumextension/3999
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10559
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10559
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-27T13:35:44Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels:
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: refactor
behavior_change: false
breaking: false
files:
  count: 39
  additions: 106
  deletions: 9
  al: 37
apps:
  - Base Application
  - INGST
  - INTCS
  - INTDS
  - IntrastatDE
  - SwissQRBill
objects_touched:
  - key: enum/11512
    page: enum/11512-ch
    type: enum
    id: 11512
    name: Swiss QR-Bill Payment Reference Type
    app: SwissQRBill
    status: modified
  - key: enum/11035
    page: enum/11035-de
    type: enum
    id: 11035
    name: Intrastat Submission Channel DE
    app: IntrastatDE
    status: modified
  - key: table/18323
    page: table/18323-in
    type: table
    id: 18323
    name: GST Journal Template
    app: INGST
    status: modified
  - key: table/18871
    page: table/18871-in
    type: table
    id: 18871
    name: TCS Journal Template
    app: INTCS
    status: modified
  - key: table/18748
    page: table/18748-in
    type: table
    id: 18748
    name: TDS Journal Template
    app: INTDS
    status: modified
  - key: table/2000020
    page: table/2000020-be
    type: table
    id: 2000020
    name: Domiciliation Journal Template
    app: Base Application
    status: modified
  - key: table/2000000
    page: table/2000000-be
    type: table
    id: 2000000
    name: Payment Journal Template
    app: Base Application
    status: modified
  - key: table/11005
    page: table/11005-at
    type: table
    id: 11005
    name: Data Export Record Field
    app: Base Application
    status: modified
  - key: table/11004
    page: table/11004-at
    type: table
    id: 11004
    name: Data Export Record Source
    app: Base Application
    status: modified
  - key: table/11006
    page: table/11006-at
    type: table
    id: 11006
    name: Data Export Table Relation
    app: Base Application
    status: modified
  - key: table/26100
    page: table/26100-at
    type: table
    id: 26100
    name: DACH Report Selections
    app: Base Application
    status: modified
  - key: enumextension/26101
    page: enumextension/26101-at
    type: enumextension
    id: 26101
    name: Report Selection Usage Del. Rem.
    app: Base Application
    status: modified
  - key: table/10724
    page: table/10724-es
    type: table
    id: 10724
    name: History of Equivalences COA
    app: Base Application
    status: modified
  - key: enum/10755
    page: enum/10755-es
    type: enum
    id: 10755
    name: SII Doc. Upload State Document Source
    app: Base Application
    status: modified
  - key: enum/10756
    page: enum/10756-es
    type: enum
    id: 10756
    name: SII Doc. Upload State Document Type
    app: Base Application
    status: modified
  - key: enum/10715
    page: enum/10715-es
    type: enum
    id: 10715
    name: SII Purch. Upload Cr. Memo Type
    app: Base Application
    status: modified
  - key: enum/10714
    page: enum/10714-es
    type: enum
    id: 10714
    name: SII Sales Upload Credit Memo Type
    app: Base Application
    status: modified
  - key: table/11204
    page: table/11204-fi
    type: table
    id: 11204
    name: Automatic Acc. Line
    app: Base Application
    status: modified
  - key: table/12122
    page: table/12122-it
    type: table
    id: 12122
    name: Customs Authority Vendor
    app: Base Application
    status: modified
  - key: table/11000005
    page: table/11000005-nl
    type: table
    id: 11000005
    name: Export Protocol
    app: Base Application
    status: modified
  - key: enum/11000007
    page: enum/11000007-nl
    type: enum
    id: 11000007
    name: CBG Statement Line Account Type
    app: Base Application
    status: modified
  - key: enum/85
    page: enum/85
    type: enum
    id: 85
    name: Acc. Schedule Line Totaling Type
    app: Base Application
    status: modified
  - key: table/17313
    page: table/17313-ru
    type: table
    id: 17313
    name: Tax Calc. Dim. Filter
    app: Base Application
    status: modified
  - key: table/17319
    page: table/17319-ru
    type: table
    id: 17319
    name: Tax Calc. G/L Corr. Entry
    app: Base Application
    status: modified
  - key: table/17307
    page: table/17307-ru
    type: table
    id: 17307
    name: Tax Calc. Section
    app: Base Application
    status: modified
  - key: table/17303
    page: table/17303-ru
    type: table
    id: 17303
    name: Tax Diff. Journal Template
    app: Base Application
    status: modified
  - key: table/17211
    page: table/17211-ru
    type: table
    id: 17211
    name: Tax Register FA Entry
    app: Base Application
    status: modified
  - key: table/17203
    page: table/17203-ru
    type: table
    id: 17203
    name: Tax Register G/L Corr. Entry
    app: Base Application
    status: modified
  - key: table/17207
    page: table/17207-ru
    type: table
    id: 17207
    name: Tax Register Section
    app: Base Application
    status: modified
  - key: table/23
    page: table/23
    type: table
    id: 23
    name: Vendor
    app: Base Application
    status: modified
  - key: table/18
    page: table/18
    type: table
    id: 18
    name: Customer
    app: Base Application
    status: modified
  - key: table/11204
    page: table/11204-se
    type: table
    id: 11204
    name: Automatic Acc. Line
    app: Base Application
    status: modified
  - key: table/6404
    page: table/6404
    type: table
    id: 6404
    name: FS Project Task
    app: Base Application
    status: modified
  - key: table/6206
    page: table/6206
    type: table
    id: 6206
    name: FS Resource Pay Type
    app: Base Application
    status: modified
  - key: enumextension/99000776
    page: enumextension/99000776
    type: enumextension
    id: 99000776
    name: Mfg. Whse. Pick Rqst. Doc. Type
    app: Base Application
    status: modified
  - key: enumextension/99000780
    page: enumextension/99000780
    type: enumextension
    id: 99000780
    name: Mfg. Whse. PutAway Rqst. Doc. Type
    app: Base Application
    status: modified
  - key: enumextension/3999
    page: enumextension/3999
    type: enumextension
    id: 3999
    name: Reten. Pol. Doc. Archive Fltrng.
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640773
systems:
  - finance
  - development
  - integration
  - platform
  - purchasing
  - warehouse
  - administration
  - inventory
  - sales
quote: null
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #10559 Ruleset hardening: promote AL0659 and AL0685 to Error

> AL0659 and AL0685 overrides are removed from base.ruleset.json, so both analyzer rules now inherit Error severity. The existing violations at 53 sites are suppressed with pragmas instead of renaming enums or changing schemas, because those fixes would be breaking.

[Pull request](https://github.com/microsoft/BCApps/pull/10559) · merged into `main` (BC30) on 2026-08-27 by JesperSchulz · 39 files (+106 -9), 37 AL · refactor · tier official · reviewed (checked by Opus)

## What changed

- Removing the AL0659 and AL0685 overrides from base.ruleset.json leaves 92 overrides, down from 94
- Pragma pairs suppress 12 AL0659 sites (enum names longer than 30 characters) and 41 AL0685 sites (FlowField target longer than source)
- Renaming enums or resizing fields would be breaking, so the violations are accepted in place
- The ES enums SII Doc. Upload State Document Source and Type share the same first 30 characters, a real collision tracked as a follow-up
- AL0685 sites carry a real truncation risk that is accepted rather than fixed

## AL objects touched

- [Enum 11512 "Swiss QR-Bill Payment Reference Type"](../../objects/enum/11512-ch.md), SwissQRBill (CH layer): modified
- [Enum 11035 "Intrastat Submission Channel DE"](../../objects/enum/11035-de.md), IntrastatDE (DE layer): modified
- [Table 18323 "GST Journal Template"](../../objects/table/18323-in.md), INGST (IN layer): modified
- [Table 18871 "TCS Journal Template"](../../objects/table/18871-in.md), INTCS (IN layer): modified
- [Table 18748 "TDS Journal Template"](../../objects/table/18748-in.md), INTDS (IN layer): modified
- [Table 2000020 "Domiciliation Journal Template"](../../objects/table/2000020-be.md), Base Application (BE layer): modified
- [Table 2000000 "Payment Journal Template"](../../objects/table/2000000-be.md), Base Application (BE layer): modified
- [Table 11005 "Data Export Record Field"](../../objects/table/11005-at.md), Base Application (AT layer): modified
- [Table 11004 "Data Export Record Source"](../../objects/table/11004-at.md), Base Application (AT layer): modified
- [Table 11006 "Data Export Table Relation"](../../objects/table/11006-at.md), Base Application (AT layer): modified
- [Table 26100 "DACH Report Selections"](../../objects/table/26100-at.md), Base Application (AT layer): modified
- [Enum extension 26101 "Report Selection Usage Del. Rem."](../../objects/enumextension/26101-at.md), Base Application (AT layer): modified
- [Table 10724 "History of Equivalences COA"](../../objects/table/10724-es.md), Base Application (ES layer): modified
- [Enum 10755 "SII Doc. Upload State Document Source"](../../objects/enum/10755-es.md), Base Application (ES layer): modified
- [Enum 10756 "SII Doc. Upload State Document Type"](../../objects/enum/10756-es.md), Base Application (ES layer): modified
- [Enum 10715 "SII Purch. Upload Cr. Memo Type"](../../objects/enum/10715-es.md), Base Application (ES layer): modified
- [Enum 10714 "SII Sales Upload Credit Memo Type"](../../objects/enum/10714-es.md), Base Application (ES layer): modified
- [Table 11204 "Automatic Acc. Line"](../../objects/table/11204-fi.md), Base Application (FI layer): modified
- [Table 12122 "Customs Authority Vendor"](../../objects/table/12122-it.md), Base Application (IT layer): modified
- [Table 11000005 "Export Protocol"](../../objects/table/11000005-nl.md), Base Application (NL layer): modified
- [Enum 11000007 "CBG Statement Line Account Type"](../../objects/enum/11000007-nl.md), Base Application (NL layer): modified
- [Enum 85 "Acc. Schedule Line Totaling Type"](../../objects/enum/85.md), Base Application (RU layer): modified
- [Table 17313 "Tax Calc. Dim. Filter"](../../objects/table/17313-ru.md), Base Application (RU layer): modified
- [Table 17319 "Tax Calc. G/L Corr. Entry"](../../objects/table/17319-ru.md), Base Application (RU layer): modified
- [Table 17307 "Tax Calc. Section"](../../objects/table/17307-ru.md), Base Application (RU layer): modified
- [Table 17303 "Tax Diff. Journal Template"](../../objects/table/17303-ru.md), Base Application (RU layer): modified
- [Table 17211 "Tax Register FA Entry"](../../objects/table/17211-ru.md), Base Application (RU layer): modified
- [Table 17203 "Tax Register G/L Corr. Entry"](../../objects/table/17203-ru.md), Base Application (RU layer): modified
- [Table 17207 "Tax Register Section"](../../objects/table/17207-ru.md), Base Application (RU layer): modified
- [Table 23 "Vendor"](../../objects/table/23.md), Base Application (RU layer): modified
- [Table 18 "Customer"](../../objects/table/18.md), Base Application (RU layer): modified
- [Table 11204 "Automatic Acc. Line"](../../objects/table/11204-se.md), Base Application (SE layer): modified
- [Table 6404 "FS Project Task"](../../objects/table/6404.md), Base Application: modified
- [Table 6206 "FS Resource Pay Type"](../../objects/table/6206.md), Base Application: modified
- [Enum extension 99000776 "Mfg. Whse. Pick Rqst. Doc. Type"](../../objects/enumextension/99000776.md), Base Application: modified
- [Enum extension 99000780 "Mfg. Whse. PutAway Rqst. Doc. Type"](../../objects/enumextension/99000780.md), Base Application: modified
- [Enum extension 3999 "Reten. Pol. Doc. Archive Fltrng."](../../objects/enumextension/3999.md), Base Application: modified

## Context

- Work items: AB#640773
- Labels: Ownership: Needs Review, Team: Other
- Systems: finance, development, integration, platform, purchasing, warehouse, administration, inventory, sales

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