Bug 646701: [28.x] [Backport] Guided error for subcontracting direct transfer from whse-handling location - #10229
Merged
alexei-dobriansky merged 2 commits intoAug 14, 2026
Conversation
…-handling location Port of #9085 to 28.x. Report `Subc. Create Transf. Order` (InsertTransferHeader) blocked subcontracting transfers with a raw TestField error when the transfer-from location required warehouse handling and no in-transit route existed. Add CheckDirectTransferAllowed/IsOneStepDirectTransfer so a guided error is raised, honor Direct Transfer posting, and keep the route's In-Transit Code when present. Includes tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc346121-b5aa-4020-b219-fba567f98b2d
alexei-dobriansky
temporarily deployed
to
triage
August 13, 2026 11:28 — with
GitHub Actions
Inactive
Base app 28.x has no `Direct Transfer Posting Type` enum and no route-level direct-transfer fields; Inventory Setup exposes the Option field `Direct Transfer Posting` (Receipt and Shipment / Direct Transfer). Use that Option instead of the enum, drop the unsupported transfer-route branch, and drop the 29.x-only in-transit-route test that referenced non-existent fields. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc346121-b5aa-4020-b219-fba567f98b2d
alexei-dobriansky
enabled auto-merge (squash)
August 13, 2026 11:59
alexei-dobriansky
disabled auto-merge
August 13, 2026 12:33
alexei-dobriansky
enabled auto-merge (squash)
August 14, 2026 08:39
Marko Aleksandric (AleksandricMarko)
approved these changes
Aug 14, 2026
Predrag Maricic (PredragMaricic)
approved these changes
Aug 14, 2026
alexei-dobriansky
deleted the
bugs/646701-SubcDirectTransferWhseHandling
branch
August 14, 2026 08:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #9085 to
releases/28.x.
Fixes AB#646701
Report
Subc. Create Transf. Order(InsertTransferHeader) previously blocked subcontracting transfers with a rawTestFielderror when the transfer-from location required warehouse handling (Require Shipment / Require Picking) and no in-transit transfer route existed.This change adds
CheckDirectTransferAllowed/IsOneStepDirectTransferso that:Includes tests for the blocked case, the Direct-Transfer-posting allowed case, and the in-transit route case.