code change · featureFinanceofficial - Microsoftreviewed - checked by Opus

#9418 [ALAppExtensions #30229][Event Request] table 12113 "Tmp Withholding Contribution"

Adds an IsHandled event OnCalculateWithholdingTaxOnBeforeAssignWithholdingTaxValues to the Tmp Withholding Contribution table and extracts field assignments into a separate procedure to allow customization of withholding tax calculation logic.

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

What changed

  • New IsHandled event lets extensions override withholding tax value assignments
  • Standard field assignment logic extracted into AssignWithholdingTaxValues local procedure
  • Negative taxable base validation remains outside the handled block to prevent bypass
  • Default behavior unchanged for systems not overriding the event
  • Low-risk change with backward compatibility maintained

AL objects touched

Context

  • Work items: AB#641342
  • Labels: Team: Finance
  • Systems: finance

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