code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#12198 [29.x]Source Currency Inconsistency for LCY Postings and cash posting on sales documents

Fixes inconsistent Source Currency values on G/L entries for LCY postings and for cash posting on sales documents. The fix changes Gen. Jnl.-Post Line in the W1 layer and several localized layers in the 29.x release.

Pull request · merged into releases/29.x (BC29) on 2026-10-08 by Shikhverma · 16 files (+351 -178), 11 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Corrects how source currency is set when posting in local currency
  • Fixes the source currency inconsistency for cash posting on sales documents
  • Changes codeunit 12 Gen. Jnl.-Post Line in W1 and the APAC, BE, CH, ES, FI, FR, IT, NA, NO and RU layers
  • Adds tests to ERMSourceCurrency in the W1, CZ, ES, IT and RU test layers
  • Backport to the releases/29.x branch
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#652537
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Source Currency Inconsistency for LCY Postings and cash posting on sales documents”

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).