---
id: change/bcapps/9479
type: change
title: "#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"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit withholding tax jnl subscriber
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:18.987Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 1b6bada9ebeb57a7cd68e8bc992a467821f1cd5f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9479
    title: "microsoft/BCApps#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"
    date: "2026-07-17"
    commit: 1b6bada9ebeb57a7cd68e8bc992a467821f1cd5f
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6786
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9479
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9479
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-17T08:54:52Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 72
  deletions: 0
  al: 1
apps:
  - WithholdingTax
objects_touched:
  - key: codeunit/6786
    page: codeunit/6786
    type: codeunit
    id: 6786
    name: Withholding Tax Jnl Subscriber
    app: WithholdingTax
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639524
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/9479) · 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

- [Codeunit 6786 "Withholding Tax Jnl Subscriber"](../../objects/codeunit/6786.md), WithholdingTax: modified

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