---
id: change/bcapps/10370
type: change
title: "#10370 [Master]-Bug 647018: Withholding tax for Employees and GL Accounts"
summary: When a G/L account is used as the balance account on a General Journal line, the line now inherits the WHT product posting group from that G/L account. This lets withholding tax for employees be used outside expense management.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit wht expense category mgt.
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:07:56.792Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6b10a5b9bd97efd928c5348db66e1b9ce569481b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10370
    title: "microsoft/BCApps#10370: [Master]-Bug 647018: Withholding tax for Employees and GL Accounts"
    date: "2026-08-21"
    commit: 6b10a5b9bd97efd928c5348db66e1b9ce569481b
    t: null
    quote: WHT product posting group inherited from GL account to the General Journal line when used GL as a balance account.
links:
  learn: []
  objects:
    - object/codeunit/7056
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10370
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10370
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-21T12:28:51Z"
author: ViditGupta1277
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - "AL: Apps (W1)"
  - From Fork
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 18
  deletions: 0
  al: 1
apps:
  - ExpenseWithholdingTax
objects_touched:
  - key: codeunit/7056
    page: codeunit/7056
    type: codeunit
    id: 7056
    name: WHT Expense Category Mgt.
    app: ExpenseWithholdingTax
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 647018
systems:
  - development
quote: WHT product posting group inherited from GL account to the General Journal line when used GL as a balance account.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10370 [Master]-Bug 647018: Withholding tax for Employees and GL Accounts

> When a G/L account is used as the balance account on a General Journal line, the line now inherits the WHT product posting group from that G/L account. This lets withholding tax for employees be used outside expense management.

[Pull request](https://github.com/microsoft/BCApps/pull/10370) · merged into `main` (BC30) on 2026-08-21 by ViditGupta1277 (community contribution) · 1 file (+18 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- WHT product posting group is inherited from the G/L balance account on general journal lines
- Change is in the WHT Expense Category Mgt. codeunit of the Expense Withholding Tax app
- Intended to let employee WHT also cover other payment types, not only expenses
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 7056 "WHT Expense Category Mgt."](../../objects/codeunit/7056.md), ExpenseWithholdingTax: modified

## Context

- Work items: AB#647018
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Finance
- Systems: development
- From the description: "WHT product posting group inherited from GL account to the General Journal line when used GL as a balance account."

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