#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”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- General Journal Post Line Overview — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Types of events for extensibility — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Czech local functionality - Multiple payables/receivables accounts — possibly related: Multiple payables accounts for multi-posting group scenarios affecting FCY applications. (model-linked)
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).