#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.
- 4files
- 3AL files
- 2objects
Pull request · 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”, Base Application: modified
- Page 186 “Exch.Rate Adjmt. Ledg.Entries”, 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).