#11367 [29.X][Repair Item][SaaS][Drop shipment reversal] Undo Shipment fails with blank Bin Code at bin-mandatory location
Fixed an issue where undoing a shipment would fail when a bin code was blank at locations requiring bins during drop shipment reversals.
- 4files
- 3AL files
- 2objects
Pull request · merged into releases/29.x (BC29) on 2026-09-17 by neeleshsinghal · 4 files (+87 -0), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Corrects undo operations for sales shipments and purchase receipts when the bin code is blank
- Addresses drop shipment reversal at locations where bins are mandatory
- Adds a test for the scenario in the item tracking test codeunit
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 5813 “Undo Purchase Receipt Line”, Base Application: modified
- Codeunit 5815 “Undo Sales Shipment Line”, Base Application: modified
src/Layers/RU/BaseApp/Sales/History/UndoSalesShipmentLine.Codeunit.al: modified, not in the BC29 snapshot
Context
- Work items: AB#649729
- Labels: Team: SCM
- Systems: purchasing, sales
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).