---
id: change/bcapps/10878
type: change
title: "#10878 Ruleset hardening: promote five low-risk rules to Error"
summary: Removes the Warning overrides for AL0254, AL0523, AA0242, AA0224 and AW0007 from the base ruleset so they apply as errors. The findings are fixed in code across many localization layers, with narrow suppressions kept for accepted existing behavior.
tier: official
language: en
tags:
  - refactor
  - main
  - bc30
  - report stock register for job work
  - report voucher register
  - page bc14 migration error overview
  - report deposit slip
  - report file sepa 001.001.09 pmts
  - report file sepa payments
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:24.075Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 1e3872168af58518ac2a02e8cf5934cbc28eee32
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10878
    title: "microsoft/BCApps#10878: Ruleset hardening: promote five low-risk rules to Error"
    date: "2026-09-03"
    commit: 1e3872168af58518ac2a02e8cf5934cbc28eee32
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/report/18468-in
    - object/report/18933-in
    - object/page/46863
    - object/report/28023-au
    - object/report/2000007-be
    - object/report/2000005-be
    - object/report/3010541-ch
    - object/report/3010545-ch
    - object/report/3010543-ch
    - object/report/3010542-ch
    - object/report/3010544-ch
    - object/report/10707-es
    - object/report/10814-fr
    - object/report/10813-fr
    - object/codeunit/5708
    - object/page/10144-ca
    - object/report/10161-ca
    - object/table/5222
    - object/report/11400-nl
    - object/report/15000002-no
    - object/codeunit/22
    - object/report/12441-ru
    - object/report/14910-ru
    - object/page/615
    - object/codeunit/108
    - object/page/6404
    - object/table/5405
    - object/report/6698
    - object/report/412
    - object/report/6699
    - object/report/212
    - object/pageextension/6491
    - object/page/6408
    - object/page/6409
    - object/page/6410
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10878
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10878
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-03T15:30:59Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: refactor
behavior_change: false
breaking: false
files:
  count: 52
  additions: 280
  deletions: 59
  al: 50
apps:
  - Base Application
  - HybridBC14
  - INGST
  - INVoucherInterface
objects_touched:
  - key: report/18468
    page: report/18468-in
    type: report
    id: 18468
    name: Stock Register for Job Work
    app: INGST
    status: modified
  - key: report/18933
    page: report/18933-in
    type: report
    id: 18933
    name: Voucher Register
    app: INVoucherInterface
    status: modified
  - key: page/46863
    page: page/46863
    type: page
    id: 46863
    name: BC14 Migration Error Overview
    app: HybridBC14
    status: modified
  - key: report/28023
    page: report/28023-au
    type: report
    id: 28023
    name: Deposit Slip
    app: Base Application
    status: modified
  - key: report/2000007
    page: report/2000007-be
    type: report
    id: 2000007
    name: File SEPA 001.001.09 Pmts
    app: Base Application
    status: modified
  - key: report/2000005
    page: report/2000005-be
    type: report
    id: 2000005
    name: File SEPA Payments
    app: Base Application
    status: modified
  - key: report/3010541
    page: report/3010541-ch
    type: report
    id: 3010541
    name: DTA File
    app: Base Application
    status: modified
  - key: report/3010545
    page: report/3010545-ch
    type: report
    id: 3010545
    name: DTA Payment Journal
    app: Base Application
    status: modified
  - key: report/3010543
    page: report/3010543-ch
    type: report
    id: 3010543
    name: DTA Payment Order
    app: Base Application
    status: modified
  - key: report/3010542
    page: report/3010542-ch
    type: report
    id: 3010542
    name: EZAG File
    app: Base Application
    status: modified
  - key: report/3010544
    page: report/3010544-ch
    type: report
    id: 3010544
    name: EZAG Payment Order
    app: Base Application
    status: modified
  - key: report/10707
    page: report/10707-es
    type: report
    id: 10707
    name: Make 347 Declaration
    app: Base Application
    status: modified
  - key: report/10814
    page: report/10814-fr
    type: report
    id: 10814
    name: Vendor Journal
    app: Base Application
    status: modified
  - key: report/10813
    page: report/10813-fr
    type: report
    id: 10813
    name: Customer Journal
    app: Base Application
    status: modified
  - key: codeunit/5708
    page: codeunit/5708
    type: codeunit
    id: 5708
    name: Release Transfer Document
    app: Base Application
    status: modified
  - key: page/10144
    page: page/10144-ca
    type: page
    id: 10144
    name: Posted Deposit Subform
    app: Base Application
    status: modified
  - key: report/10161
    page: report/10161-ca
    type: report
    id: 10161
    name: Serial Number Status/Aging
    app: Base Application
    status: modified
  - key: table/5222
    page: table/5222
    type: table
    id: 5222
    name: Employee Ledger Entry
    app: Base Application
    status: modified
  - key: report/11400
    page: report/11400-nl
    type: report
    id: 11400
    name: CBG Posting - Test
    app: Base Application
    status: modified
  - key: report/15000002
    page: report/15000002-no
    type: report
    id: 15000002
    name: Remittance Test Report
    app: Base Application
    status: modified
  - key: codeunit/22
    page: codeunit/22
    type: codeunit
    id: 22
    name: Item Jnl.-Post Line
    app: Base Application
    status: modified
  - key: report/12441
    page: report/12441-ru
    type: report
    id: 12441
    name: Customer Accounting Card
    app: Base Application
    status: modified
  - key: report/14910
    page: report/14910-ru
    type: report
    id: 14910
    name: Customer - Reconciliation Act
    app: Base Application
    status: modified
  - key: page/615
    page: page/615
    type: page
    id: 615
    name: IC Inbox Transactions
    app: Base Application
    status: modified
  - key: codeunit/108
    page: codeunit/108
    type: codeunit
    id: 108
    name: Net Cust/Vend Balances Mgt.
    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: table/5405
    page: table/5405
    type: table
    id: 5405
    name: Production Order
    app: Base Application
    status: modified
  - key: report/6698
    page: report/6698
    type: report
    id: 6698
    name: Move Negative Purchase Lines
    app: Base Application
    status: modified
  - key: report/412
    page: report/412
    type: report
    id: 412
    name: Purchase Prepmt. Doc. - Test
    app: Base Application
    status: modified
  - key: report/6699
    page: report/6699
    type: report
    id: 6699
    name: Move Negative Sales Lines
    app: Base Application
    status: modified
  - key: report/212
    page: report/212
    type: report
    id: 212
    name: Sales Prepmt. Document Test
    app: Base Application
    status: modified
  - key: pageextension/6491
    page: pageextension/6491
    type: pageextension
    id: 6491
    name: Serv. Workflow Customer Entity
    app: Base Application
    status: modified
  - key: page/6408
    page: page/6408
    type: page
    id: 6408
    name: Workflow - Customer Entity
    app: Base Application
    status: modified
  - key: page/6409
    page: page/6409
    type: page
    id: 6409
    name: Workflow - Item Entity
    app: Base Application
    status: modified
  - key: page/6410
    page: page/6410
    type: page
    id: 6410
    name: Workflow - Vendor Entity
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Sales/Reports/CustomerLabels.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640773
systems:
  - finance
  - development
  - inventory
  - purchasing
  - sales
  - hr
  - administration
  - integration
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #10878 Ruleset hardening: promote five low-risk rules to Error

> Removes the Warning overrides for AL0254, AL0523, AA0242, AA0224 and AW0007 from the base ruleset so they apply as errors. The findings are fixed in code across many localization layers, with narrow suppressions kept for accepted existing behavior.

[Pull request](https://github.com/microsoft/BCApps/pull/10878) · merged into `main` (BC30) on 2026-09-03 by JesperSchulz · 52 files (+280 -59), 50 AL · refactor · tier official · reviewed (checked by Opus)

## What changed

- Five rules (AL0254, AL0523, AA0242, AA0224, AW0007) now apply at Error level in the repo ruleset
- Partial-record loads fixed by adding fields to SetLoadFields calls
- Missing captions added and prepayment test report request options separated from the internal option
- New Employee Ledger Entry keys added for Closed by Entry No. and NL proposal sorting
- 46 ID-qualified suppressions kept; overrides drop from 81 to 76

## AL objects touched

- [Report 18468 "Stock Register for Job Work"](../../objects/report/18468-in.md), INGST (IN layer): modified
- [Report 18933 "Voucher Register"](../../objects/report/18933-in.md), INVoucherInterface (IN layer): modified
- [Page 46863 "BC14 Migration Error Overview"](../../objects/page/46863.md), HybridBC14: modified
- [Report 28023 "Deposit Slip"](../../objects/report/28023-au.md), Base Application (AU layer): modified
- [Report 2000007 "File SEPA 001.001.09 Pmts"](../../objects/report/2000007-be.md), Base Application (BE layer): modified
- [Report 2000005 "File SEPA Payments"](../../objects/report/2000005-be.md), Base Application (BE layer): modified
- [Report 3010541 "DTA File"](../../objects/report/3010541-ch.md), Base Application (CH layer): modified
- [Report 3010545 "DTA Payment Journal"](../../objects/report/3010545-ch.md), Base Application (CH layer): modified
- [Report 3010543 "DTA Payment Order"](../../objects/report/3010543-ch.md), Base Application (CH layer): modified
- [Report 3010542 "EZAG File"](../../objects/report/3010542-ch.md), Base Application (CH layer): modified
- [Report 3010544 "EZAG Payment Order"](../../objects/report/3010544-ch.md), Base Application (CH layer): modified
- [Report 10707 "Make 347 Declaration"](../../objects/report/10707-es.md), Base Application (ES layer): modified
- [Report 10814 "Vendor Journal"](../../objects/report/10814-fr.md), Base Application (FR layer): modified
- [Report 10813 "Customer Journal"](../../objects/report/10813-fr.md), Base Application (FR layer): modified
- [Codeunit 5708 "Release Transfer Document"](../../objects/codeunit/5708.md), Base Application: modified
- [Page 10144 "Posted Deposit Subform"](../../objects/page/10144-ca.md), Base Application (CA layer): modified
- [Report 10161 "Serial Number Status/Aging"](../../objects/report/10161-ca.md), Base Application (CA layer): modified
- [Table 5222 "Employee Ledger Entry"](../../objects/table/5222.md), Base Application: modified
- [Report 11400 "CBG Posting - Test"](../../objects/report/11400-nl.md), Base Application (NL layer): modified
- [Report 15000002 "Remittance Test Report"](../../objects/report/15000002-no.md), Base Application (NO layer): modified
- [Codeunit 22 "Item Jnl.-Post Line"](../../objects/codeunit/22.md), Base Application: modified
- [Report 12441 "Customer Accounting Card"](../../objects/report/12441-ru.md), Base Application (RU layer): modified
- [Report 14910 "Customer - Reconciliation Act"](../../objects/report/14910-ru.md), Base Application (RU layer): modified
- [Page 615 "IC Inbox Transactions"](../../objects/page/615.md), Base Application: modified
- [Codeunit 108 "Net Cust/Vend Balances Mgt."](../../objects/codeunit/108.md), Base Application: modified
- [Page 6404 "Purchase Document Entity"](../../objects/page/6404.md), Base Application: modified
- [Table 5405 "Production Order"](../../objects/table/5405.md), Base Application: modified
- [Report 6698 "Move Negative Purchase Lines"](../../objects/report/6698.md), Base Application: modified
- [Report 412 "Purchase Prepmt. Doc. - Test"](../../objects/report/412.md), Base Application: modified
- [Report 6699 "Move Negative Sales Lines"](../../objects/report/6699.md), Base Application: modified
- [Report 212 "Sales Prepmt. Document Test"](../../objects/report/212.md), Base Application: modified
- [Page extension 6491 "Serv. Workflow Customer Entity"](../../objects/pageextension/6491.md), Base Application: modified
- [Page 6408 "Workflow - Customer Entity"](../../objects/page/6408.md), Base Application: modified
- [Page 6409 "Workflow - Item Entity"](../../objects/page/6409.md), Base Application: modified
- [Page 6410 "Workflow - Vendor Entity"](../../objects/page/6410.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Sales/Reports/CustomerLabels.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/CH/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Reports/PurchasePrepmtDocTest.Report.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Sales/Reports/SalesPrepmtDocumentTest.Report.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#640773
- Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
- Systems: finance, development, inventory, purchasing, sales, hr, administration, integration, manufacturing

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