#10123 [Extensibility Request] issue 30401: add credit memo sales line filter event
An integration event OnUpdateSalesDocumentOnBeforeFindSetCreditMemoSalesLine was added to the Sales-Post Prepayments codeunit, allowing extensions to filter credit memo sales lines during prepayment document processing.
- 9files
- 9AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-14 by AleksandricMarko · 9 files (+99 -0), 9 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New integration event fires before credit memo lines are queried
- Extensions can add custom filters while preserving existing prepayment logic
- Event added to all localization layers (W1, BE, CH, ES, FI, IT, APAC, NA, NL)
AL objects touched
- Codeunit 442 “Sales-Post Prepayments”, Base Application: modified
src/Layers/BE/BaseApp/Sales/Posting/SalesPostPrepayments.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/CH/BaseApp/Sales/Posting/SalesPostPrepayments.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/ES/BaseApp/Sales/Posting/SalesPostPrepayments.Codeunit.al: modified, not in the BC30 snapshotsrc/Layers/NL/BaseApp/Sales/Posting/SalesPostPrepayments.Codeunit.al: modified, not in the BC30 snapshot
Context
- Work items: AB#646144
- Labels: Team: SCM, event-request
- Systems: sales
- From the description: “Extensions need to refine which credit memo sales lines are processed when a prepayment document updates the originating sales document.”
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).