#9349 [master]-[ES][Cartera Bills] Applying a foreign-currency payment to a bill that leads to gain-loss entry cannot be reversed
Fixed an issue where applying a foreign-currency payment to a bill that generates a gain-loss entry could not be reversed in the Spanish localization.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-15 by MSNehaNawal (community contribution) · 2 files (+162 -11), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Reversal of foreign-currency payments with gain-loss entries now works correctly
- Issue affected the Cartera Bills functionality in Spanish localization
- Changes made to Gen. Jnl.-Post Line codeunit posting logic
- Test scenarios added to verify the fix
- Bug 642151 resolved
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application (ES layer): modified
Context
- Work items: AB#642151
- Labels: ADO: Sync, From Fork, Team: Finance
- Systems: finance
- From the description: “Applying a foreign-currency payment to a bill that leads to gain-loss entry cannot be reversed”
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).