#14427 [main] Bug 660065 Direct transfer with "Shipment and Receipt" posting can't be posted when an In-Transit Code is specified
Direct transfers with 'Shipment and Receipt' posting now succeed when an In-Transit Code is specified, by allowing the shipment leg to post to a real in-transit location instead of requiring a blank location.
- 4files
- 3AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-30 by MSNehaNawal · 4 files (+189 -3), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Fixes validation logic in ItemJnlCheckLine that incorrectly rejected direct transfer shipments when Location Mandatory was enabled and an in-transit location was set
- Added new helper function IsDirectTransferShipmentViaInTransit to identify direct transfer shipments posting to in-transit locations
- Receipt leg of direct transfers already worked correctly; only the shipment leg validation needed adjustment
- Applied fix to W1, ES, and RU localization layers
- Includes test coverage for the scenario in SCMDirectTransferWarehouse test codeunit
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 21 “Item Jnl.-Check Line”, Base Application: modified
src/Layers/ES/BaseApp/Inventory/Journal/ItemJnlCheckLine.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#660356
- Labels: Team: SCM
- Systems: inventory
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 between locations with posting methods and in-transit tracking (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).