#10167 [Extensibility Request] issue 30240: add event before adding price list lines
A cancellable event is added before price list line creation so extensions can implement custom logic or replace the standard line creation behavior.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-13 by AleksandricMarko · 1 file (+11 -0), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New OnBeforeAddLine event added to Price List Management.AddLine procedure
- Event includes relevant price records and an IsHandled parameter
- Allows subscribers to bypass standard line creation
- Enables extensibility for custom asset price list line handling
- Available to country-specific implementations
AL objects touched
- Codeunit 7017 “Price List Management”, Base Application: modified
Context
- Work items: AB#638114
- Labels: Team: SCM, event-request, extensibility-enhancement
- Systems: development
- From the description: “Extensions need to replace the standard logic that creates a price list line for an asset when suggested price lines are added.”
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).