#9973 [WHT]-Withholding Tax is not deducted from Expense Report lines based on the Expense Category during posting
Withholding tax is now deducted from expense report lines during posting based on the expense category. The change adds new objects in the ExpenseWithholdingTax app and touches Expense Report posting, the WithholdingTax employee codeunits and Gen. Jnl.-Post Line in all layers.
- 42files
- 19AL files
- 9objects
Pull request · merged into main (BC30) on 2026-08-17 by ViditGupta1277 (community contribution) · 42 files (+578 -17), 19 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Expense Report-Post codeunit updated so withholding tax is handled during expense report posting
- ExpenseWithholdingTax app gains a buffer table, a posting handler codeunit, a General Journal page extension and a permission set
- Gen. Jnl.-Post Line modified in W1 and every country layer, plus changes to the WithholdingTax employee calculation and subscriber codeunits
- Build configuration and AL-Go project settings updated across country projects
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6987 “Expense Report-Post”, ExpenseAgent: modified
- Permission set 7058 “Exp. Withholding Tax”, ExpenseWithholdingTax: added
- Table 7059 “WHT Exp. Report Buffer”, ExpenseWithholdingTax: added
- Codeunit 7057 “WHT Exp. Report Post Handler”, ExpenseWithholdingTax: added
- Codeunit 7056 “WHT Expense Category Mgt.”, ExpenseWithholdingTax: modified
- Page extension 7058 “WHT General Journal”, ExpenseWithholdingTax: added
- Codeunit 6790 “WHT Employee Calculation”, WithholdingTax: modified
- Codeunit 6791 “Wthldg Tax Empl. Subscribers”, WithholdingTax: modified
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#645160
- Labels: ADO: Sync, AL: Apps (W1), Build: scripts & configs, From Fork, Ownership: Needs Review, Team: Other
- Systems: finance, 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).