---
id: change/bcapps/11476
type: change
title: "#11476 [29.X]-Item Availability by BOM Level Produces Inconsistent Able-to-Make Results When G-TOP-BOM-02 Replenishment Changes from Assembly to Purchase - 2606050050002529- #11411"
summary: Fixed inconsistent able-to-make results in Item Availability by BOM Level when an item's replenishment system changes from Assembly to Purchase. The Calculate BOM Tree codeunit is adjusted and a test is added.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit calculate bom tree
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:04:59.187Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 199cd8b42d9ba56826225ae8815792af18347a85
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11476
    title: "microsoft/BCApps#11476: [29.X]-Item Availability by BOM Level Produces Inconsistent Able-to-Make Results When G-TOP-BOM-02 Replenishment Changes from Assembly to Purchase - 2606050050002529- #11411"
    date: "2026-09-16"
    commit: 199cd8b42d9ba56826225ae8815792af18347a85
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5870
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11476
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11476
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-09-16T09:32:42Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 131
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/5870
    page: codeunit/5870
    type: codeunit
    id: 5870
    name: Calculate BOM Tree
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640283
systems:
  - inventory
quote: null
joined_against:
  major: "29"
  commit: 1d24dd5ee2a734510f0556ccc69342d0e616db2f
---

# #11476 [29.X]-Item Availability by BOM Level Produces Inconsistent Able-to-Make Results When G-TOP-BOM-02 Replenishment Changes from Assembly to Purchase - 2606050050002529- #11411

> Fixed inconsistent able-to-make results in Item Availability by BOM Level when an item's replenishment system changes from Assembly to Purchase. The Calculate BOM Tree codeunit is adjusted and a test is added.

[Pull request](https://github.com/microsoft/BCApps/pull/11476) · merged into `releases/29.x` (BC29) on 2026-09-16 by neeleshsinghal · 2 files (+131 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Addresses incorrect calculation of assembleable items when BOM component sourcing changes
- Updates the BOM tree calculation logic to handle replenishment method transitions
- Includes test coverage for the specific scenario with G-TOP-BOM-02 replenishment changes
- Applied to BC29 release branch
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5870 "Calculate BOM Tree"](../../objects/codeunit/5870.md), Base Application: modified

## Context

- Work items: AB#640283
- Labels: Team: SCM
- Systems: inventory

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