Skip to content

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

Draft
alexei-dobriansky wants to merge 1 commit into
mainfrom
bugs/640958-EASY-SubcDirectTransferWhseHandling
Draft

Bug 640958: Guided error for subcontracting direct transfer from whse-handling location#9085
alexei-dobriansky wants to merge 1 commit into
mainfrom
bugs/640958-EASY-SubcDirectTransferWhseHandling

Conversation

@alexei-dobriansky

@alexei-dobriansky alexei-dobriansky commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Fixes AB#640958

SubcCreateTransfOrder.InsertTransferHeader unconditionally validated "Direct Transfer" := true when no in-transit route existed; the OnValidate calls VerifyNoOutboundWhseHandlingOnLocation which TestFields Require Pick/Require Shipment = false, throwing a raw error for warehouse-handling source locations. Add CheckDirectTransferAllowed that raises a guided error (set up an in-transit route or use Direct Transfer posting) when the source location requires a pick or shipment and posting is not Direct Transfer. Adds a negative test.

…-handling location

SubcCreateTransfOrder.InsertTransferHeader unconditionally validated
"Direct Transfer" := true when no in-transit route existed; the OnValidate calls
VerifyNoOutboundWhseHandlingOnLocation which TestFields Require Pick/Require
Shipment = false, throwing a raw error for warehouse-handling source locations.
Add CheckDirectTransferAllowed that raises a guided error explaining the situation
(set up an in-transit route or use Direct Transfer posting) when the source
location requires a pick or shipment and posting is not Direct Transfer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jul 3, 2026
@alexei-dobriansky alexei-dobriansky added the SCM GitHub request for SCM area label Jul 3, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 3, 2026
@alexei-dobriansky alexei-dobriansky self-assigned this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant