#11163 [29.x]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.
The Exchange Rate Adjustment process now correctly calculates individual adjustment amounts in ledger entries when unrealized gains reverse into losses, instead of incorrectly using cumulative amounts.
- 4files
- 3AL files
- 2objects
Pull request · merged into releases/29.x (BC29) on 2026-09-11 by neeleshsinghal · 4 files (+102 -7), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Fixed calculation to use each detailed entry’s own linked amount instead of accumulated total
- Adjustment Amount now accurately reflects per-row values in Exchange Rate Adjustment Ledger Entries page
- Addresses scenario where unrealized gain reverses and subsequent adjustment becomes a loss
- Added comprehensive test coverage for the correction
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 699 “Exch. Rate Adjmt. Process”, Base Application: modified
- Page 186 “Exch.Rate Adjmt. Ledg.Entries”, Base Application: modified
Context
- Work items: AB#649336
- 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).