#9071 Merged from [28.x]The transaction cannot be completed because it will cause inconsistencies in the G/L Entry table"
Fixes the posting error 'The transaction cannot be completed because it will cause inconsistencies in the G/L Entry table' in codeunit Gen. Jnl.-Post Line. The fix is applied across the W1 layer and several localization layers, with new tests in the ERM Source Currency test suites.
- 16files
- 11AL files
- 1objects
Pull request · merged into main (BC30) on 2026-07-13 by AndersLarsenMicrosoft · 16 files (+429 -14), 11 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Small fix in Gen. Jnl.-Post Line to avoid the G/L Entry inconsistency error
- Applied consistently to the APAC, BE, CH, ES, FI, FR, IT, NA, NO, RU and W1 layers
- New tests added to the ERM Source Currency codeunit in the CZ, ES, IT and W1 layers
- Merged from the 28.x branch; addresses AB#638132
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application: modified
Context
- Work items: AB#638132
- 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).