#14574 [Main]ERM Purchase Payables.UnreliazedGainLossEntrieAreClearWhenUsingMultiplePostingGroups fails (G/L account not balanced)- #13241
Fixes the failing UnreliazedGainLossEntrieAreClearWhenUsingMultiplePostingGroups test, which hit an unbalanced G/L account when a payment used a different vendor posting group than the invoice. The test setup now maps alternate vendor posting groups in both directions, and Gen. Jnl.-Post Line is also modified across localization layers.
- 15files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-30 by sanjmaurya · 15 files (+1084 -52), 11 AL · fix · tier official · reviewed (checked by Opus)
What changed
- The test failed with an unbalanced G/L account when the payment and invoice used different vendor posting groups
- The test setup adds the reverse alternate vendor posting-group mapping, from group 2 to group 1
- Codeunit 12 Gen. Jnl.-Post Line is modified in the APAC, BE, CH, ES, FI, FR, IT, NA, NO, RU and W1 layers
- Tests are updated in the CZ, FI, GB and W1 layers
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#647653
- Labels: Team: Finance
- Systems: finance
- From the description: “Added the reverse alternate vendor posting-group mapping, from group 2 to group 1.”
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/receivables accounts allow posting to alternative G/L accounts via posting groups. (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).