#9886 [Master] Expense Report posting FCY rounding mismatch "Expense Report Posting Test" fail in Spain only (Source Currency Amount 649.97 vs 650
Fixed foreign currency rounding mismatch in expense report posting for Spain by improving how source currency amounts are calculated for employee payables balancing entries.
- 3files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-18 by sanjmaurya · 3 files (+57 -21), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Corrects source currency amount derivation in expense report posting for Spain
- Updates condition logic to properly use journal line source currency amount when applicable
- Applies absolute value comparison for LCY amounts to handle sign differences
- Resolves test failures where source currency amounts were being recalculated unnecessarily
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application (ES layer): modified
Context
- Work items: AB#644891
- 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).