code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#9479 [Master]-]Withholding Tax Entries are not generated at payment because the Withholding Tax. Prod. Posting Group field gets not transferred to the payment line

The Withholding Tax Prod. Posting Group field is now carried over to the payment line, so Withholding Tax Entries are created again when the payment is posted.

Pull request · merged into main (BC30) on 2026-07-17 by neeleshsinghal · 2 files (+72 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • The Withholding Tax Prod. Posting Group field was not transferred to payment lines
  • Because of this, no Withholding Tax Entries were generated at payment
  • New logic in codeunit Withholding Tax Jnl Subscriber transfers the field
  • A test was added to ERM Withholding Tax Tests II
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#639524
  • 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).