code change · fixManufacturingofficial - Microsoftreviewed - checked by Opus

#9085 Bug 640958: Guided error for subcontracting direct transfer from whse-handling location

The subcontracting transfer order creation report now provides a guided error when attempting direct transfer from a warehouse-handling location without an in-transit route, instead of an obscure system error.

Pull request · merged into main (BC30) on 2026-08-12 by alexei-dobriansky · 2 files (+199 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Added CheckDirectTransferAllowed method to validate direct transfer feasibility before setting the field
  • Raises a guided error suggesting either setting up an in-transit route or using Direct Transfer posting
  • Handles the case where source location requires pick or shipment but direct transfer is not configured
  • Includes a negative test case to verify the error handling
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#640958
  • Labels: AL: Apps (W1), Subcontracting, Team: SCM
  • Systems: manufacturing

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