code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#12007 [Main]-TDS Amount incorrectly calculated under Tax Information Factbox if you use Applies-to ID in the Indian version.

Fixed incorrect TDS amount calculation when applying payments to purchase invoices via Applies-to ID in the Indian version. The system was deducting the gross payment amount instead of the TDS base, resulting in over-deducted TDS.

Pull request · merged into main (BC30) on 2026-09-30 by v-maheshsharma · 2 files (+6596 -6625), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Removed an expression in the Applies-to ID TDS use case that replaced the summed TDS base of applied payments with the gross Amount to Apply
  • AppliedAmount now keeps the summed TDS base used for the taxable amount excluding applied amounts
  • Use-case version raised from 5 to 6, and the registered version in TDS Tax Configuration updated so the corrected use case is re-imported
  • TDS now comes out correctly for one or more applied payments
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#651717
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Removed the erroneous expression so AppliedAmount retains the correctly summed TDS base”

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