#14879 Purchases: Restore order quantities when posting a corrective credit memo from the list
Posting a corrective purchase credit memo from the Purchase Credit Memos list now properly restores order quantities when that setting is enabled, matching the behavior of posting from the card.
- 3files
- 2AL files
- 1objects
Pull request · merged into main (BC30) on 2026-12-04 by alexei-dobriansky · 3 files (+129 -0), 2 AL · fix · tier official · reviewed (checked by Opus)
What changed
- List page posting now calls UpdatePurchaseOrderLineIfExist after posting, as card and job queue posting already do
- Posting from the list previously left Quantity Received and Quantity Invoiced unchanged on the originating order
- This mirrors the Sales Credit Memos list. Credit memos only scheduled for job queue posting are skipped
- The change is applied to both the W1 and NA copies of the page
- New tests cover list and card posting, and the case where the setting is disabled
- Behaviour changes for users or extensions.
AL objects touched
- Page 9309 “Purchase Credit Memos”, Base Application: modified
src/Layers/NA/BaseApp/Purchases/Document/PurchaseCreditMemos.Page.al: modified, not in the BC30 snapshot
Context
- Work items: AB#661730
- Labels: Engineering Factory, Team: SCM
- Systems: purchasing
- From the description: “The list now calls it after posting, as the Sales Credit Memos list already does for sales.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Credit memos and cancellation — possibly related: Documents credit memo handling and corrective credit memo processing for purchase orders. (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).