---
id: change/bcapps/11511
type: change
title: "#11511 [29.x]Bug 647991 Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line"
summary: Fixed an issue where posting an inventory pick for a non-ATO sales line could fail when an unrelated ATO line on the same order had outstanding warehouse activity. The fix prevents unnecessary updates to the assembly order when warehouse activity is still pending.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - table sales line
  - codeunit asm. whse. activity post
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:49.872Z"
  flags: []
generated:
  at: "2026-10-11T00:26:06.897Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2eafeb9b17188926991e0393b4e3a3696895db9e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11511
    title: "microsoft/BCApps#11511: [29.x]Bug 647991 Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line"
    date: "2026-09-17"
    commit: 2eafeb9b17188926991e0393b4e3a3696895db9e
    t: null
    quote: Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line
links:
  learn: []
  objects:
    - object/table/37
    - object/codeunit/932
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11511
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11511
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-09-17T09:54:56Z"
author: MSNehaNawal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 14
  additions: 205
  deletions: 12
  al: 13
apps:
  - Base Application
objects_touched:
  - key: table/37
    page: table/37
    type: table
    id: 37
    name: Sales Line
    app: Base Application
    status: modified
  - key: codeunit/932
    page: codeunit/932
    type: codeunit
    id: 932
    name: Asm. Whse. Activity Post
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/BE/BaseApp/Sales/Document/SalesLine.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 650158
systems:
  - sales
  - warehouse
quote: Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line
joined_against:
  major: "29"
  commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
---

# #11511 [29.x]Bug 647991 Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line

> Fixed an issue where posting an inventory pick for a non-ATO sales line could fail when an unrelated ATO line on the same order had outstanding warehouse activity. The fix prevents unnecessary updates to the assembly order when warehouse activity is still pending.

[Pull request](https://github.com/microsoft/BCApps/pull/11511) · merged into `releases/29.x` (BC29) on 2026-09-17 by MSNehaNawal · 14 files (+205 -12), 13 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Non-ATO sales lines can now post independently without being blocked by unrelated ATO items
- Added logic to skip assembly order quantity updates when warehouse activities are still outstanding
- Event subscriber on warehouse activity post prevents errors from unrelated assembly-to-order lines
- Fixes posting failures that occurred when mixed ATO and non-ATO items shared a sales order
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 37 "Sales Line"](../../objects/table/37.md), Base Application: modified
- [Codeunit 932 "Asm. Whse. Activity Post"](../../objects/codeunit/932.md), Base Application: modified
- `src/Layers/BE/BaseApp/Sales/Document/SalesLine.Table.al`: modified, not in the BC29 snapshot

## Context

- Work items: AB#650158
- Labels: Team: SCM
- Systems: sales, warehouse
- From the description: "Assembly-to-Order Item Incorrectly Blocks Shipment of Unrelated Sales Order Line"

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