---
id: change/bcapps/13427
type: change
title: "#13427 [Quality Management] Confirm before finishing on Create Re-inspection"
summary: Quality inspections now ask for confirmation before finishing when creating a re-inspection on an open inspection, preventing unintended state changes if the user declines.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table qlty. inspection header
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-06T01:00:07.909Z"
  flags: []
generated:
  at: "2026-11-11T00:15:47.902Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 618eb6450a3ebd259395d7a42e482d75de33cd09
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13427
    title: "microsoft/BCApps#13427: [Quality Management] Confirm before finishing on Create Re-inspection"
    date: "2026-11-05"
    commit: 618eb6450a3ebd259395d7a42e482d75de33cd09
    t: null
    quote: The confirmation is now asked before anything changes
links:
  learn: []
  objects:
    - object/table/20405
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse
      title: Create an inspection automatically from a warehouse receipt and reinspect the lot
      label: possibly related
      why: Documents creating reinspections after initial quality inspection failures in warehouse operations.
      by: model
number: 13427
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13427
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-05T13:00:02Z"
author: alexei-dobriansky
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 98
  deletions: 8
  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:
  - number: 13796
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13796
fixes_issues: []
work_items:
  - 655843
systems:
  - inventory
quote: The confirmation is now asked before anything changes
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13427 [Quality Management] Confirm before finishing on Create Re-inspection

> Quality inspections now ask for confirmation before finishing when creating a re-inspection on an open inspection, preventing unintended state changes if the user declines.

[Pull request](https://github.com/microsoft/BCApps/pull/13427) · merged into `main` (BC30) on 2026-11-05 by alexei-dobriansky · 2 files (+98 -8), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Confirmation dialog moved before any changes occur for open inspections
- Answering No leaves the inspection open with no automatic finish
- Already finished inspections preserve existing confirmation behavior
- Non-interactive callers like APIs remain unaffected
- New tests validate both accepted and declined scenarios
- Behaviour changes for users or extensions.

## AL objects touched

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

## Also merged into

- [#13796](https://github.com/microsoft/BCApps/pull/13796) into `releases/29.x` on 2026-11-10

## Context

- Work items: AB#655843
- Labels: AL: Apps (W1), Team: SCM
- Systems: inventory
- From the description: "The confirmation is now asked before anything changes"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Create an inspection automatically from a warehouse receipt and reinspect the lot](https://learn.microsoft.com/dynamics365/business-central/qms-purchase-receipt-testing-warehouse) — possibly related: Documents creating reinspections after initial quality inspection failures in warehouse operations. (model-linked)

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