#10545 [Master] - Bug 647253: [WHT] Inconsistency with the Payments
Fixes bug 647253 about withholding tax inconsistency with payments by 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.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-17 by ViditGupta1277 (community contribution) · 2 files (+59 -1), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Withholding Tax Mgmt. codeunit 6785 is modified 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
- Codeunit 6785 “Withholding Tax Mgmt.”, WithholdingTax: modified
Context
- Work items: AB#647253
- Labels: ADO: Sync, AL: Apps (W1), From Fork, 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).