#13331 [Main]-Warehouse Picks Creating Incorrect Line Splitting final pick.
Create Pick now correctly assigns lot quantities when breakbulk is disabled and FEFO is enabled, preventing shipments from being underpicked by ensuring only inventory in the requested unit of measure counts toward lot availability.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-24 by DhavalMore88 (community contribution) · 2 files (+208 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Fixed lot quantity calculation in FEFO picking to respect unit of measure constraints when breakbulk is not allowed
- New CalcQtyAvailToPickInUnitOfMeasure procedure calculates how much of a lot can be picked from bins holding the requested unit only
- Prevents scenarios where the first-expiring lot could be assigned more quantity than physically available in the requested unit of measure
- Ensures subsequent lots receive the remaining quantity needed to fulfill shipments completely
- Added regression tests for single and multiple shipment scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 7312 “Create Pick”, Base Application: modified
Context
- Work items: AB#659753
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: warehouse
- From the description: “Create Pick can assign the first-expiring lot more quantity than is stored in the requested unit of measure.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- How to Split Warehouse Activity Lines — possibly related: Addresses warehouse activity line splitting, which the change fixes for incorrect final pick creation. (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).