code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#12979 [Main] Consistent Error Posting GST Distribution Reversal

GST Distribution Reversal posting now correctly handles rounding differences when distributed GST amounts contain decimals, applying the rounding adjustment to the first matching component line credit amount.

Pull request · merged into main (BC30) on 2026-10-26 by Shikhverma · 1 file (+77 -20), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • GST amounts are rounded per component line during distribution, creating rounding differences
  • Normal distributions apply rounding difference to the debit amount, but reversals did not
  • Reversals failed because total credit amounts differed from original GST amount by the rounding difference
  • Solution applies the same rounding logic to reversals by adding the difference to the first matching component line credit amount
  • Whole amount reversals were not affected and continue to work
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13084 into releases/29.x on 2026-10-26

Context

  • Work items: AB#654806
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Posting a GST Distribution Reversal fails with an error when the distributed GST amounts have decimals.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Input Service Distribution Process — possibly related: GST Input Service Distribution Process documents GST distribution posting relevant to reversal operations. (model-linked)

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