code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#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 · 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

Context

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

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

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