#10988 [Event Request] Codeunit 730 "Copy Item": Add price-specific before event
A new before event OnBeforeCopyItemPriceListLines2 is added to the Copy Item codeunit to allow subscribers to intercept price list line copying operations with access to price and amount type parameters.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-08 by AleksandricMarko · 1 file (+11 -0), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New event OnBeforeCopyItemPriceListLines2 fires before copying price list lines in the price-specific overload
- Event exposes PriceType and AmountType parameters for subscriber customization
- The 2 suffix distinguishes this event from the existing OnBeforeCopyItemPriceListLines for the dispatcher method
- Enables extensions to control individual copy operations before filters and inserts
AL objects touched
- Codeunit 730 “Copy Item”, Base Application: modified
Context
- Work items: AB#462363
- Labels: Team: SCM, event-request
- Systems: inventory
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- How to Copy Existing Items to New Items — possibly related: Documents copying items functionality using the Copy Item function. (model-linked)
- Record special purchase prices and discounts — possibly related: Documents setup of special purchase prices and pricing agreements for items. (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).