---
id: change/bcapps/14506
type: change
title: '#14506 [29.x]-"Cannot match item tracking" when partially posting an Inventory Pick for lot-tracked items with Strict Expiration Posting enabled'
summary: Fixed an error that prevented partial posting of inventory picks for lot-tracked items when Strict Expiration Posting is enabled. The fix filters warehouse activity lines to only validate lots being posted, not all lot lines created by the pick split.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit item tracking management
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-11-28T01:06:47.641Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: aa48591b71c0196cd67b39b7e8180247fdfad7cf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14506
    title: 'microsoft/BCApps#14506: [29.x]-"Cannot match item tracking" when partially posting an Inventory Pick for lot-tracked items with Strict Expiration Posting enabled'
    date: "2026-11-27"
    commit: aa48591b71c0196cd67b39b7e8180247fdfad7cf
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6500
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/warehouse-picking-by-fefo
      title: How to enable picking by FEFO
      label: possibly related
      why: FEFO picking with expiration dates and lot tracking directly relates to strict expiration posting.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-how-setup-item-tracking
      title: Set up item tracking with serial, lot, and package numbers
      label: possibly related
      why: Item tracking with lot numbers and expiration dates is core to the item tracking setup documentation.
      by: model
number: 14506
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14506
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-11-27T04:35:11Z"
author: DhavalMore88
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 82
  deletions: 0
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/6500
    page: codeunit/6500
    type: codeunit
    id: 6500
    name: Item Tracking Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 657960
systems:
  - inventory
quote: null
joined_against:
  major: "29"
  commit: baedf68df311071024c0711fde8b1fbac33ec290
---

# #14506 [29.x]-"Cannot match item tracking" when partially posting an Inventory Pick for lot-tracked items with Strict Expiration Posting enabled

> Fixed an error that prevented partial posting of inventory picks for lot-tracked items when Strict Expiration Posting is enabled. The fix filters warehouse activity lines to only validate lots being posted, not all lot lines created by the pick split.

[Pull request](https://github.com/microsoft/BCApps/pull/14506) · merged into `releases/29.x` (BC29) on 2026-11-27 by DhavalMore88 (community contribution) · 2 files (+82 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Partial posting of inventory picks for lot-tracked items now works correctly with Strict Expiration Posting enabled
- Added a filter to exclude pick lines with zero quantity to handle from lot tracking validation
- Preserves original lot-mismatch validation for lines that are actually being posted
- Regression test added to prevent recurrence of this issue
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6500 "Item Tracking Management"](../../objects/codeunit/6500.md), Base Application: modified

## Context

- Work items: AB#657960
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: inventory

## Possibly related

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

- [How to enable picking by FEFO](https://learn.microsoft.com/dynamics365/business-central/warehouse-picking-by-fefo) — possibly related: FEFO picking with expiration dates and lot tracking directly relates to strict expiration posting. (model-linked)
- [Set up item tracking with serial, lot, and package numbers](https://learn.microsoft.com/dynamics365/business-central/inventory-how-setup-item-tracking) — possibly related: Item tracking with lot numbers and expiration dates is core to the item tracking setup 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).
