#12008 [29.x]-TDS Amount incorrectly calculated under Tax Information Factbox if you use Applies-to ID in the Indian version.
Fixed TDS amount calculation in the Indian version when applying payments via Applies-to ID, which was incorrectly deducting the gross payment amount instead of the TDS base amount.
- 2files
- 1AL files
- 1objects
Pull request · merged into releases/29.x (BC29) on 2026-09-30 by v-maheshsharma · 2 files (+6596 -6625), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- The TDS use case (Applies-to ID) was overwriting the correctly summed TDS base amount with the gross payment amount
- Removed the erroneous expression to preserve AppliedAmount as the sum of posted TDS Base Amounts
- Updated use case version from 5 to 6 and registered version in TDSTaxConfiguration to ensure the corrected logic is re-imported
- TDS now calculates correctly for single and multiple applied payments
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 18694 “TDS Tax Configuration”, INTDS (IN layer): modified
Context
- Work items: AB#651716
- Labels: Team: Finance
- Systems: finance
- From the description: “TDS was over-deducted on a Purchase Invoice when a payment was applied via Applies-to ID”
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).