code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13272 Keep historical FX balances when unapplying payments

The exchange rate revaluation date is now aligned with the entry's latest adjustment when unapplying backdated payments, preventing unrealized FX amounts from shifting between periods.

Pull request · merged into main (BC30) on 2026-10-27 by Explorer986 · 5 files (+840 -0), 2 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Fixes FX balance movement when unapplying backdated payments
  • Aligns revaluation date with latest exchange-rate adjustment
  • Covers vendors, customers and employees in W1 and RU
  • Prevents month-end balance distortion from period shifts
  • Includes regression tests for multiple scenarios
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #13589 into releases/29.x on 2026-11-05

Context

  • Work items: AB#656755
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Unapplying a backdated payment could move unrealized FX amounts between periods, changing month-end balances.”

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

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