#10522 [main] Bug 647499 Bin Replenishment with Pick by FEFO Creates Incorrect Inventory Movements
Fixed bin replenishment with FEFO-based picking to correctly calculate quantities and clear processed worksheet lines in basic warehouse locations.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-27 by MSNehaNawal · 2 files (+162 -3), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- FEFO inventory movements now exclude the destination bin when calculating available quantity to pick, ensuring correct lot selection and full quantity fulfillment
- Handled warehouse activity buffers for FEFO movements are now recorded with blank From Bin to match worksheet lines and enable proper deletion of processed lines
- Prevents incorrect inventory movements and unprocessed worksheet lines that occurred when the earliest FEFO lot was already in the replenishment bin
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7322 “Create Inventory Pick/Movement”, Base Application: modified
Context
- Work items: AB#647499
- Labels: Team: SCM
- Systems: warehouse
- From the description: “Bin Replenishment with Pick by FEFO Creates Incorrect Inventory Movements and Leaves Movement Worksheet Lines Unprocessed”
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).