#9686 [Master] Incorrect Payables Account Selected for Unrealized Gain/Loss in Multi-Posting Group FCY Applications.
Foreign currency unrealized gain/loss posting now selects the correct payables account when multiple posting groups are used, fixing an issue where wrong accounts were chosen during multi-posting group transactions.
- 12files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-08-21 by Shikhverma · 12 files (+506 -99), 11 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Fixes selection of the payables account for unrealized gain/loss in FCY applications that involve multiple posting groups
- Changes codeunit 12 Gen. Jnl.-Post Line
- Same change applied to W1 and the APAC, BE, CH, ES, FI, FR, IT, NA, NO and RU layers
- Adds tests in the Test Bank Payment Application codeunit
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#643355
- Labels: Team: Finance
- Systems: finance
- From the description: “Incorrect Payables Account Selected for Unrealized Gain/Loss in Multi-Posting Group FCY Applications”
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).