---
id: change/bcapps/10808
type: change
title: "#10808 [master] Adjustment Amount is not accurate in the Exch. Rate Adjmt. Ledger Entries page if an Unrealized Gain gest registered and a second adjustment turns into a Loss."
summary: Codeunit 699 now correctly calculates adjustment amounts in exchange rate adjustment ledger entries by using each row's linked detailed entry amount instead of the accumulated total.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit exch. rate adjmt. process
  - page exch.rate adjmt. ledg.entries
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:16.324Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 41d71853865f008446069c9a4a39ecbfba214b84
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10808
    title: "microsoft/BCApps#10808: [master] Adjustment Amount is not accurate in the Exch. Rate Adjmt. Ledger Entries page if an Unrealized Gain gest registered and a second adjustment turns into a Loss."
    date: "2026-09-07"
    commit: 41d71853865f008446069c9a4a39ecbfba214b84
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/699
    - object/page/186
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10808
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10808
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-07T13:16:29Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 102
  deletions: 6
  al: 3
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
  - key: page/186
    page: page/186
    type: page
    id: 186
    name: Exch.Rate Adjmt. Ledg.Entries
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648313
systems:
  - finance
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10808 [master] Adjustment Amount is not accurate in the Exch. Rate Adjmt. Ledger Entries page if an Unrealized Gain gest registered and a second adjustment turns into a Loss.

> Codeunit 699 now correctly calculates adjustment amounts in exchange rate adjustment ledger entries by using each row's linked detailed entry amount instead of the accumulated total.

[Pull request](https://github.com/microsoft/BCApps/pull/10808) · merged into `main` (BC30) on 2026-09-07 by neeleshsinghal · 4 files (+102 -6), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Exchange rate adjustment ledger entries previously showed incorrect accumulated amounts for all rows
- The fix applies the correct per-row detailed entry amount to the Adjustment Amount field
- Affects scenarios where unrealized gains reverse into losses
- Includes test cases for the corrected calculation logic
- Page 186 receives decimal and caption improvements
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#648313
- Labels: Team: Finance
- Systems: finance

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