code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#14020 Bug 650215: Direct Transfer route does not populate configured In-Transit Code on transfer order

Transfer orders using routes now correctly apply the configured In-Transit Code for Shipment and Receipt transfers, while clearing it for Direct Transfer posting mode.

Pull request · merged into main (BC30) on 2026-11-18 by ChethanT · 9 files (+570 -20), 8 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Route In-Transit Code now applied for Shipment and Receipt and non-direct routes, and cleared for Direct Transfer posting
  • For direct transfers, existing lines are synced with the header in-transit value when either location changes
  • Direct-transfer receipt quantities stay aligned with shipment quantities even when the route has a transit code
  • Line’s cached header gets the in-memory header and Direct Transfer flag before location validation, preventing stale route mode
  • Thirteen regression tests added; changes propagated to IT, NA and RU layers
  • Behaviour changes for users or extensions.

AL objects touched

  • Table 5740 “Transfer Header”, Base Application: modified
  • Table 5741 “Transfer Line”, Base Application: modified
  • src/Layers/RU/BaseApp/Inventory/Transfer/TransferHeader.Table.al: modified, not in the BC30 snapshot
  • src/Layers/RU/BaseApp/Inventory/Transfer/TransferLine.Table.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#650215
  • Labels: Team: SCM
  • Systems: inventory

No source states these links: they share an object, a model read them, or a person found the same subject.

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).