#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.
- 39files
- 37AL files
- 37objects
Pull request · 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”, SwissQRBill (CH layer): modified
- Enum 11035 “Intrastat Submission Channel DE”, IntrastatDE (DE layer): modified
- Table 18323 “GST Journal Template”, INGST (IN layer): modified
- Table 18871 “TCS Journal Template”, INTCS (IN layer): modified
- Table 18748 “TDS Journal Template”, INTDS (IN layer): modified
- Table 2000020 “Domiciliation Journal Template”, Base Application (BE layer): modified
- Table 2000000 “Payment Journal Template”, Base Application (BE layer): modified
- Table 11005 “Data Export Record Field”, Base Application (AT layer): modified
- Table 11004 “Data Export Record Source”, Base Application (AT layer): modified
- Table 11006 “Data Export Table Relation”, Base Application (AT layer): modified
- Table 26100 “DACH Report Selections”, Base Application (AT layer): modified
- Enum extension 26101 “Report Selection Usage Del. Rem.”, Base Application (AT layer): modified
- Table 10724 “History of Equivalences COA”, Base Application (ES layer): modified
- Enum 10755 “SII Doc. Upload State Document Source”, Base Application (ES layer): modified
- Enum 10756 “SII Doc. Upload State Document Type”, Base Application (ES layer): modified
- Enum 10715 “SII Purch. Upload Cr. Memo Type”, Base Application (ES layer): modified
- Enum 10714 “SII Sales Upload Credit Memo Type”, Base Application (ES layer): modified
- Table 11204 “Automatic Acc. Line”, Base Application (FI layer): modified
- Table 12122 “Customs Authority Vendor”, Base Application (IT layer): modified
- Table 11000005 “Export Protocol”, Base Application (NL layer): modified
- Enum 11000007 “CBG Statement Line Account Type”, Base Application (NL layer): modified
- Enum 85 “Acc. Schedule Line Totaling Type”, Base Application (RU layer): modified
- Table 17313 “Tax Calc. Dim. Filter”, Base Application (RU layer): modified
- Table 17319 “Tax Calc. G/L Corr. Entry”, Base Application (RU layer): modified
- Table 17307 “Tax Calc. Section”, Base Application (RU layer): modified
- Table 17303 “Tax Diff. Journal Template”, Base Application (RU layer): modified
- Table 17211 “Tax Register FA Entry”, Base Application (RU layer): modified
- Table 17203 “Tax Register G/L Corr. Entry”, Base Application (RU layer): modified
- Table 17207 “Tax Register Section”, Base Application (RU layer): modified
- Table 23 “Vendor”, Base Application (RU layer): modified
- Table 18 “Customer”, Base Application (RU layer): modified
- Table 11204 “Automatic Acc. Line”, Base Application (SE layer): modified
- Table 6404 “FS Project Task”, Base Application: modified
- Table 6206 “FS Resource Pay Type”, Base Application: modified
- Enum extension 99000776 “Mfg. Whse. Pick Rqst. Doc. Type”, Base Application: modified
- Enum extension 99000780 “Mfg. Whse. PutAway Rqst. Doc. Type”, Base Application: modified
- Enum extension 3999 “Reten. Pol. Doc. Archive Fltrng.”, 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).