---
id: change/bcapps/13862
type: change
title: "#13862 [29.X]-Serial numbers selected on Assembly Order component lines are deleted when running Calculate Regenerative Plan, without carrying out action messages."
summary: Serial number tracking on assembly order component lines is now preserved when running the Calculate Regenerative Plan action instead of being unexpectedly deleted without processing corresponding action messages.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit assembly line invt. profile
system: assembly
review:
  state: reviewed
  by: opus
  at: "2026-11-21T00:56:52.498Z"
  flags: []
generated:
  at: "2026-11-30T10:37:49.603Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 8045eb41f04270af18ffd0621d55c52077c29356
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13862
    title: "microsoft/BCApps#13862: [29.X]-Serial numbers selected on Assembly Order component lines are deleted when running Calculate Regenerative Plan, without carrying out action messages."
    date: "2026-11-20"
    commit: 8045eb41f04270af18ffd0621d55c52077c29356
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/928
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/production-how-to-run-mps-and-mrp
      title: Run Full Planning, MPS, or MRP
      label: possibly related
      why: Documents running regenerative planning to calculate replenishment orders, the process where serial numbers are being incorrectly deleted.
      by: model
number: 13862
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13862
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-20T15:07:35Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 472
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/928
    page: codeunit/928
    type: codeunit
    id: 928
    name: Assembly Line Invt. Profile
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658600
systems:
  - assembly
quote: null
joined_against:
  major: "29"
  commit: 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7
---

# #13862 [29.X]-Serial numbers selected on Assembly Order component lines are deleted when running Calculate Regenerative Plan, without carrying out action messages.

> Serial number tracking on assembly order component lines is now preserved when running the Calculate Regenerative Plan action instead of being unexpectedly deleted without processing corresponding action messages.

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

## What changed

- Serial numbers selected on assembly order component lines are kept when Calculate Regenerative Plan runs
- Previously they were removed even though the planning action messages had not been carried out
- Logic added to codeunit 928 Assembly Line Invt. Profile
- Assembly item tracking tests added in the W1 and IT test layers
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 928 "Assembly Line Invt. Profile"](../../objects/codeunit/928.md), Base Application: modified

## Context

- Work items: AB#658600
- Labels: Team: SCM
- Systems: assembly

## Possibly related

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

- [Run Full Planning, MPS, or MRP](https://learn.microsoft.com/dynamics365/business-central/production-how-to-run-mps-and-mrp) — possibly related: Documents running regenerative planning to calculate replenishment orders, the process where serial numbers are being incorrectly deleted. (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).
