code change · featureInventoryofficial - Microsoftreviewed - checked by Opus

#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.

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

Context

  • Work items: AB#462363
  • Labels: Team: SCM, event-request
  • Systems: inventory

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).