code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

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

Fixed an error that occurred when partially posting an Inventory Pick for lot-tracked items with Strict Expiration Posting enabled. The fix filters item tracking validation to only check pick lines with quantities being posted.

Pull request · merged into main (BC30) on 2026-11-24 by DhavalMore88 (community contribution) · 2 files (+82 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Partial posting of Inventory Picks split by lot now works correctly when Strict Expiration Posting is enabled
  • Added filter to validate only pick lines with non-zero quantities to handle
  • Preserves existing lot-mismatch validation for handled lines
  • Added regression test for the scenario
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#659774
  • Labels: ADO: Sync, From Fork, Team: SCM
  • Systems: inventory
  • From the description: “With Strict Expiration Posting, Create Invt. Pick splits the pick into one line per lot.”

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