Skip to content

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
mainfrom
bugs/Bug-572435-Transfer-Order-reservation-for-Inbound-not-possible-master
Open

Bug 572435 Transfer Order reservation for Inbound not possible message fully reserved appears, but no entries in the reservation table.#9727
v-praghav wants to merge 1 commit into
mainfrom
bugs/Bug-572435-Transfer-Order-reservation-for-Inbound-not-possible-master

Conversation

@v-praghav

@v-praghav v-praghav commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

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

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome (required — be specific: scenarios, commands, screenshots for UI changes)

Risk & compatibility

@v-praghav
v-praghav marked this pull request as ready for review July 26, 2026 17:48
@v-praghav
v-praghav requested a review from a team July 26, 2026 17:48
@v-praghav v-praghav changed the title #572435 Bug 572435 Transfer Order reservation for Inbound not possible message fully reserved appears, but no entries in the reservation table. Jul 26, 2026
@github-actions github-actions Bot added the SCM GitHub request for SCM area label Jul 26, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant