---
id: change/bcapps/12198
type: change
title: "#12198 [29.x]Source Currency Inconsistency for LCY Postings and cash posting on sales documents"
summary: 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.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit gen. jnl.-post line
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T06:30:53.874Z"
  flags: []
generated:
  at: "2026-10-08T05:36:33.848Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 47ed09ca325f485d61415c1d6926ab8f0518336d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12198
    title: "microsoft/BCApps#12198: [29.x]Source Currency Inconsistency for LCY Postings and cash posting on sales documents"
    date: "2026-10-08"
    commit: 47ed09ca325f485d61415c1d6926ab8f0518336d
    t: null
    quote: Source Currency Inconsistency for LCY Postings and cash posting on sales documents
links:
  learn: []
  objects:
    - object/codeunit/12
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12198
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12198
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-08T04:02:47Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 16
  additions: 351
  deletions: 178
  al: 11
apps:
  - Base Application
objects_touched:
  - key: codeunit/12
    page: codeunit/12
    type: codeunit
    id: 12
    name: Gen. Jnl.-Post Line
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652537
systems:
  - finance
quote: Source Currency Inconsistency for LCY Postings and cash posting on sales documents
joined_against:
  major: "29"
  commit: fe31a4253b4aa8fde426364f132f5689d4dfcddf
---

# #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](https://github.com/microsoft/BCApps/pull/12198) · 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

- [Codeunit 12 "Gen. Jnl.-Post Line"](../../objects/codeunit/12.md), Base Application: modified

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