code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#10058 [Master]-Withholding Tax Posting generates Unbalanced G/L Entries when Multiple Withholding Tax Rates are used on one Purchase Invoice.

The withholding tax posting calculation is corrected to prevent unbalanced G/L entries when multiple withholding tax rates apply to a single purchase invoice.

Pull request · merged into main (BC30) on 2026-08-11 by neeleshsinghal · 1 file (+4 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixes unbalanced G/L entries when one purchase invoice uses several withholding tax rates
  • The change is in the Wthldg Tax Purch. Subscribers codeunit of the WithholdingTax app
  • Small change of 4 added and 2 removed lines in one file, with no tests included
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646139
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development

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