---
id: change/bcapps/8924
type: change
title: "#8924 [QM] Fixed overflow runtime error"
summary: An overflow runtime error in Quality Inspection Header has been fixed with corresponding test coverage added.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table qlty. inspection header
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:21.150Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a417c1610375486a8350158e9078ec0320378343
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/8924
    title: "microsoft/BCApps#8924: [QM] Fixed overflow runtime error"
    date: "2026-07-10"
    commit: a417c1610375486a8350158e9078ec0320378343
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/20405
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 8924
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/8924
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-10T10:14:32Z"
author: 6CRIPT
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - Bug
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 81
  deletions: 1
  al: 1
apps:
  - Quality Management
objects_touched:
  - key: table/20405
    page: table/20405
    type: table
    id: 20405
    name: Qlty. Inspection Header
    app: Quality Management
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 620337
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #8924 [QM] Fixed overflow runtime error

> An overflow runtime error in Quality Inspection Header has been fixed with corresponding test coverage added.

[Pull request](https://github.com/microsoft/BCApps/pull/8924) · merged into `main` (BC30) on 2026-07-10 by 6CRIPT · 3 files (+81 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixes an overflow runtime error in the Qlty. Inspection Header table
- Adds helper code to the Quality Management test library
- Adds a regression test in the miscellaneous QM tests codeunit
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 20405 "Qlty. Inspection Header"](../../objects/table/20405.md), Quality Management: modified

## Context

- Work items: AB#620337
- Labels: AL: Apps (W1), Bug, Team: SCM
- Systems: development

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