---
id: change/bcapps/10810
type: change
title: "#10810 Private/t tmikula/aggregate lines deadlock"
summary: Changed codeunit 1639 Office Line Generation to address a possible deadlock when aggregating lines, and added a new integration test codeunit for it.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit office line generation
system: crm
review:
  state: reviewed
  by: opus
  at: "2026-10-16T01:17:25.385Z"
  flags: []
generated:
  at: "2026-10-16T00:19:25.651Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 266f7d353df2713b4d83b8f01974fd41ba6ff2cc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10810
    title: "microsoft/BCApps#10810: Private/t tmikula/aggregate lines deadlock"
    date: "2026-10-13"
    commit: 266f7d353df2713b4d83b8f01974fd41ba6ff2cc
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/1639
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10810
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10810
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-13T13:49:23Z"
author: Kimi310
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 230
  deletions: 10
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/1639
    page: codeunit/1639
    type: codeunit
    id: 1639
    name: Office Line Generation
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 638727
systems:
  - crm
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #10810 Private/t tmikula/aggregate lines deadlock

> Changed codeunit 1639 Office Line Generation to address a possible deadlock when aggregating lines, and added a new integration test codeunit for it.

[Pull request](https://github.com/microsoft/BCApps/pull/10810) · merged into `main` (BC30) on 2026-10-13 by Kimi310 · 2 files (+230 -10), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Targets a possible deadlock in line aggregation in Office Line Generation
- Code change is limited to codeunit 1639 Office Line Generation
- Adds a new OfficeLineGenerationTest integration test codeunit
- The description says the change potentially fixes the deadlock; it does not claim a confirmed fix
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 1639 "Office Line Generation"](../../objects/codeunit/1639.md), Base Application: modified

## Context

- Work items: AB#638727
- Labels: Team: SCM
- Systems: crm

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