code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#11206 [CH] When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount

In the Swiss (CH) localization, VAT G/L entries posted in a foreign currency now store the VAT amount in Source Currency Amount instead of the VAT base amount. Gen. Jnl.-Post Line no longer recalculates source currency amounts when it initializes a system-generated G/L entry.

Pull request · merged into main (BC30) on 2026-09-11 by dcenic · 2 files (+90 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • VAT G/L entries during foreign currency posting now use correct source currency amounts
  • Fixes incorrect storage of VAT base amount instead of VAT amount in Source Currency Amount field
  • Changes initialization logic in Gen. Jnl.-Post Line to avoid recalculating source currency amounts
  • Test coverage added to verify the correct behavior with foreign currency VAT posting
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #11269 into releases/29.x on 2026-09-11

Context

  • Work items: AB#649413
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “When posting with FCY, VAT G/L Entry stores VAT base amount in Source Currency Amount instead of VAT amount”

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