---
id: change/bcapps/12806
type: change
title: "#12806 [main] Closing the BC browser tab during quote-to-order reservation leaves a partial sales order and the source quote"
summary: Converting a sales quote to an order now holds off reservation until all quote lines have been copied. Closing the browser tab mid-conversion can no longer commit a partial sales order and leave the source quote behind.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit sales-quote to order
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-18T00:55:14.136Z"
  flags: []
generated:
  at: "2026-10-30T00:17:01.742Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 5060dc09c260077d4d13a337f64997d24816a61f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12806
    title: "microsoft/BCApps#12806: [main] Closing the BC browser tab during quote-to-order reservation leaves a partial sales order and the source quote"
    date: "2026-10-16"
    commit: 5060dc09c260077d4d13a337f64997d24816a61f
    t: null
    quote: Defer manual reservation until conversion completes, so interruption cannot preserve a partially converted order.
links:
  learn: []
  objects:
    - object/codeunit/86
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/assembly-how-to-quote-an-assemble-to-order-sale
      title: Quote an Assemble-to-Order Sale
      label: possibly related
      why: Quote-to-order process and reservations are directly covered by assembly quote and sales order handling documentation.
      by: model
number: 12806
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12806
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-16T05:34:21Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 5
  additions: 322
  deletions: 5
  al: 4
apps:
  - Base Application
objects_touched:
  - key: codeunit/86
    page: codeunit/86
    type: codeunit
    id: 86
    name: Sales-Quote to Order
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/CH/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports:
  - number: 12977
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/12977
fixes_issues: []
work_items:
  - 654078
systems:
  - sales
quote: Defer manual reservation until conversion completes, so interruption cannot preserve a partially converted order.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12806 [main] Closing the BC browser tab during quote-to-order reservation leaves a partial sales order and the source quote

> Converting a sales quote to an order now holds off reservation until all quote lines have been copied. Closing the browser tab mid-conversion can no longer commit a partial sales order and leave the source quote behind.

[Pull request](https://github.com/microsoft/BCApps/pull/12806) · merged into `main` (BC30) on 2026-10-16 by Shikhverma · 5 files (+322 -5), 4 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Reservation during quote-to-order conversion is deferred until the conversion completes
- Prevents a committed partial order when the session is interrupted
- Change applied to codeunit 86 in the W1, CH, IT and RU layers
- Tests added in ERM Sales Quotes
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 86 "Sales-Quote to Order"](../../objects/codeunit/86.md), Base Application: modified
- `src/Layers/CH/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Sales/Document/SalesQuotetoOrder.Codeunit.al`: modified, not in the BC30 snapshot

## Also merged into

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

## Context

- Work items: AB#654078
- Labels: Team: SCM
- Systems: sales
- From the description: "Defer manual reservation until conversion completes, so interruption cannot preserve a partially converted order."

## Possibly related

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

- [Quote an Assemble-to-Order Sale](https://learn.microsoft.com/dynamics365/business-central/assembly-how-to-quote-an-assemble-to-order-sale) — possibly related: Quote-to-order process and reservations are directly covered by assembly quote and sales order handling documentation. (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).
