#14429 [29.x]-Purchase Credit Memo – "Get Return Shipment Lines" fails for Non-Inventory items with "corrective credit memo can only reverse the original posted invoice" error (regression from Bug 636861)
Using 'Get Return Shipment Lines' on a purchase credit memo no longer fails for non-inventory items with the error that a corrective credit memo can only reverse the original posted invoice. This fixes a regression introduced by Bug 636861.
- 21files
- 14AL files
- 1objects
Pull request · merged into releases/29.x (BC29) on 2026-11-26 by neeleshsinghal (community contribution) · 21 files (+980 -0), 14 AL · fix · tier official · reviewed (checked by Opus)
What changed
- ‘Get Return Shipment Lines’ on purchase credit memos works again for non-inventory items
- Removes the wrongly raised ‘corrective credit memo can only reverse the original posted invoice’ error
- Fixes a regression introduced by the fix for Bug 636861
- The Purchase Line table is changed in W1 and all country layers
- Tests added to O365 Correct Purchase Invoice in several layers
- Behaviour changes for users or extensions.
AL objects touched
- Table 39 “Purchase Line”, Base Application: modified
Context
- Work items: AB#660363
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: purchasing
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Process returns or cancellations — possibly related: Documents purchase credit memos and return orders for vendor invoices (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).