code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#10869 [29.x]-[WHT] Inconsistency with the Payments

Backport to 29.x of a fix for withholding tax inconsistency with payments, changing the Withholding Tax Mgmt. codeunit. A test checks that posting a payment without a Purchases journal template fails with the expected missing template error.

Pull request · merged into releases/29.x (BC29) on 2026-09-17 by ViditGupta1277 · 2 files (+59 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Withholding Tax Mgmt. codeunit 6785 is modified in releases/29.x to address the payments inconsistency bug
  • Test added that verifies posting fails when the Purchases journal template is missing
  • Description only mentions test formatting, which understates the app code change
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#648516
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: development
  • From the description: “Corrected the indentation and procedure closing structure.”

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