---
id: change/bcapps/13272
type: change
title: "#13272 Keep historical FX balances when unapplying payments"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit exch. rate adjmt. process
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-28T10:56:17.829Z"
  flags: []
generated:
  at: "2026-11-09T00:15:52.409Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4a81310c5067edc6dafba4990a8f5487b2ec4012
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13272
    title: "microsoft/BCApps#13272: Keep historical FX balances when unapplying payments"
    date: "2026-10-27"
    commit: 4a81310c5067edc6dafba4990a8f5487b2ec4012
    t: null
    quote: Unapplying a backdated payment could move unrealized FX amounts between periods, changing month-end balances.
links:
  learn: []
  objects:
    - object/codeunit/699
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extend-exchange-rates
      title: Extending currency exchange rate adjustments
      label: possibly related
      why: Explains currency exchange rate adjustment objects and capabilities for unapplying payments.
      by: model
number: 13272
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13272
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-27T19:26:59Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 5
  additions: 840
  deletions: 0
  al: 2
apps:
  - Base Application
objects_touched:
  - key: codeunit/699
    page: codeunit/699
    type: codeunit
    id: 699
    name: Exch. Rate Adjmt. Process
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports:
  - number: 13589
    base: releases/29.x
    url: https://github.com/microsoft/BCApps/pull/13589
fixes_issues: []
work_items:
  - 656755
systems:
  - finance
quote: Unapplying a backdated payment could move unrealized FX amounts between periods, changing month-end balances.
joined_against:
  major: "30"
  commit: 15385dede95a4f9e7be01be47c684fc9d654a7ce
---

# #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](https://github.com/microsoft/BCApps/pull/13272) · 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

- [Codeunit 699 "Exch. Rate Adjmt. Process"](../../objects/codeunit/699.md), Base Application: modified

## Also merged into

- [#13589](https://github.com/microsoft/BCApps/pull/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."

## Possibly related

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

- [Extending currency exchange rate adjustments](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extend-exchange-rates) — possibly related: Explains currency exchange rate adjustment objects and capabilities for unapplying payments. (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).
