#12541 Preserve transfer line UOM when toggling Direct Transfer
When toggling Direct Transfer on a transfer line with a non-base unit of measure, the selected UOM and its quantity conversion are now preserved instead of reverting to the item's base unit. The warehouse validator also explicitly rejects Direct Transfer changes when matching warehouse shipment, receipt, or activity lines exist.
- 6files
- 5AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-22 by attilatoury · 6 files (+507 -8), 5 AL · fix · tier official · reviewed (checked by Opus)
What changed
- UOM and converted quantity are retained during Direct Transfer toggle instead of resetting to base unit
- Reservation handling is improved by validating UOM before the first quantity validation to maintain conversion precision
- Warehouse protection is made explicit: mode changes are rejected only when matching warehouse lines exist, not based on location requirements alone
- Four localized Transfer Line tables and one shared warehouse validator were updated
- Comprehensive regression tests cover UOM roundtrips, reservations, and warehouse scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Table 5741 “Transfer Line”, Base Application: modified
- Codeunit 5777 “Whse. Validate Source Line”, Base Application: modified
src/Layers/RU/BaseApp/Inventory/Transfer/TransferLine.Table.al: modified, not in the BC30 snapshot
Context
- Work items: AB#652555
- Labels: Team: SCM
- Systems: inventory, warehouse
- From the description: “Preserve the selected transfer-line unit of measure and outbound reservations when Direct Transfer is toggled.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Transfer items between locations — possibly related: Documents transfer orders and direct transfers for managing inventory between locations. (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).