code change · featureFinanceofficial - Microsoftreviewed - checked by Opus

#9417 [ALAppExtensions #30221][Event Request] table 12137 "Purch. Withh. Contribution"

Two integration events added to the Purch. Withh. Contribution table enable partners to override the INPS calculation or populate custom fields during record creation without affecting the default behavior.

Pull request · merged into main (BC30) on 2026-07-15 by Explorer986 · 1 file (+20 -5), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • OnValorizzaINPSOnBeforeCalcAssoggettato event with IsHandled guard allows partners to replace the Assoggettato calculation
  • OnCreateRecordOnBeforeInsertPurchWithhContribution event fires before insert to let subscribers populate custom fields
  • IsHandled defaults to false so standard calculation runs unchanged unless explicitly overridden
  • No schema or data changes; low risk extension points

AL objects touched

Context

  • Work items: AB#640605
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Adds two integration events to table 12137 “Purch. Withh. Contribution””

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