code change · featureInventoryofficial - Microsoftreviewed - checked by Opus

#9523 Issue #9474 OnBeforeDecreaseQtyForMaxQty

Adds an OnBeforeDecreaseQtyForMaxQty integration event to the Inventory Profile Offsetting codeunit, so extensions can hook in before the quantity is decreased for the maximum quantity.

Pull request · merged into main (BC30) on 2026-11-12 by MiguelLM-Eyna (community contribution) · 1 file (+13 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New OnBeforeDecreaseQtyForMaxQty event in codeunit 99000854 Inventory Profile Offsetting
  • Raised before the quantity is decreased for the maximum quantity
  • Addresses event request issue #9474
  • Additive change only (+13 lines), no existing code removed

AL objects touched

Context

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