Skip to content

[Master] Purchase Return Order Posting Fails for Manually Reserved Lot-Tracked Items with Exact Cost Reversing Mandatory Enabled: "Applies-to Entry must not be filled out when reservations exist in Item Ledger Entry Entry No.='XXX'" - #9783

Draft
Shikhverma wants to merge 3 commits into
mainfrom
bugs/Bug-644262-PurcRetOrderPostFailsforManuallyReservedLotTrackedItemswithExactCostReversingMandatoryEnabledAppliestoEntrymustnotbefilledoutwhenreservationsexistinILEEntryNoXX
Draft

[Master] Purchase Return Order Posting Fails for Manually Reserved Lot-Tracked Items with Exact Cost Reversing Mandatory Enabled: "Applies-to Entry must not be filled out when reservations exist in Item Ledger Entry Entry No.='XXX'"#9783
Shikhverma wants to merge 3 commits into
mainfrom
bugs/Bug-644262-PurcRetOrderPostFailsforManuallyReservedLotTrackedItemswithExactCostReversingMandatoryEnabledAppliestoEntrymustnotbefilledoutwhenreservationsexistinILEEntryNoXX

Conversation

@Shikhverma

@Shikhverma Shikhverma commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Bug 644262: [Master][All-E] Purchase Return Order Posting Fails for Manually Reserved Lot-Tracked Items with Exact Cost Reversing Mandatory Enabled: "Applies-to Entry must not be filled out when reservations exist in Item Ledger Entry Entry No.='XXX'"InitialCommit

Fixes AB#644262

Issue:
A lot-tracked purchase return (created via "Get Posted Document Lines to Reverse" and reserved against the receipt entry) cannot be posted when "Exact Cost Reversing Mandatory" is enabled — it fails with "Appl.-to Item Entry must have a value in Reservation Entry…", and the manual fix then fails with "Applies-to Entry must not be filled out when reservations exist…".

Cause:
Reserving the return line against the item ledger entry rebuilds the reservation entry without the exact-cost reversing link (Appl.-to Item Entry), which posting then requires.

Solution:
When the return line is fully reserved against an item ledger entry and Appl.-to Item Entry is blank, derive it from the reserved entry during posting, so the exact-cost link is restored without manual input.

@github-actions github-actions Bot added the SCM GitHub request for SCM area label Jul 28, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 28, 2026
@Shikhverma Shikhverma changed the title [Master] Purchase Return Order Posting Fails for Manually Reserved Lot-Tracked Items with Exact Cost Reversing Mandatory Enabled: "Applies-to Entry must not be filled out when reservations exist in Item Ledger Entry Entry No.='XXX'"InitialCommit [Master] Purchase Return Order Posting Fails for Manually Reserved Lot-Tracked Items with Exact Cost Reversing Mandatory Enabled: "Applies-to Entry must not be filled out when reservations exist in Item Ledger Entry Entry No.='XXX'" Jul 28, 2026
…Bug-644262-PurcRetOrderPostFailsforManuallyReservedLotTrackedItemswithExactCostReversingMandatoryEnabledAppliestoEntrymustnotbefilledoutwhenreservationsexistinILEEntryNoXX
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