Bug 572435 Transfer Order reservation for Inbound not possible message fully reserved appears, but no entries in the reservation table.#9727
Open
v-praghav wants to merge 1 commit into
Conversation
v-praghav
marked this pull request as ready for review
July 26, 2026 17:48
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.
What & why
Issue After shipping a Transfer Order (non-direct), trying to reserve the Inbound line shows a misleading "Fully reserved." message with no reservation entries created. The Available - Transfer Lines page also displays no lines for the inbound direction.
Cause: The SetSourceTableFilters() procedure in [AvailableTransferLines.Page.al]was missing the "Qty. in Transit (Base)" > 0 filter for inbound, so no lines were returned. Additionally, AutoReserve() and Reserve from Current Line in [Reservation.Page.al] raised the generic "Fully reserved." error for inbound Transfer Lines without any meaningful explanation.
SolutionSolution
Added Rec.SetFilter("Qty. in Transit (Base)", '>0') for the inbound case so in-transit lines appear correctly. Introduced a ValidateReservationApplicable() function that shows a specific error — "Inbound quantities cannot be reserved until the items are received at the Transfer-to location." — called by both AutoReserve() and Reserve from Current Line.
Linked work
AB#572435
Fixes #
How I validated this
What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)
Risk & compatibility