code change · fixInventoryofficial - Microsoftreviewed - checked by Opus

#10430 [Master]-ACY amount on Value Entries is recalculated from LCY when the document currency equals the Additional Reporting Currency, causing a mismatch with G/L Entries]

Fixed a calculation error in item journal posting when the document currency matches the additional reporting currency, ensuring ACY amounts on value entries are consistent with G/L entries.

Pull request · merged into main (BC30) on 2026-08-24 by neeleshsinghal · 8 files (+844 -78), 6 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • ACY amounts on value entries are no longer recalculated from LCY when the document currency equals the Additional Reporting Currency
  • This keeps value entry ACY amounts in line with G/L entries
  • Item Jnl.-Post Line updated in the W1, APAC, CH, ES, IT and RU layers
  • New tests added in the WIP costing with additional currency test codeunits for W1 and CZ
  • Behaviour changes for users or extensions.

AL objects touched

  • Codeunit 22 “Item Jnl.-Post Line”, Base Application: modified
  • src/Layers/APAC/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/CH/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/ES/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/IT/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#646085
  • Labels: Team: SCM
  • Systems: inventory

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