#13203 [main] Bug 656535 Additional Reporting Currency Difference After Closing Income Statement - related to 625803
Close Income Statement now passes the closed additional reporting currency (ACY) amount through a new manually bound codeunit, not through Source Currency Amount. Before this, posting recalculated ACY from LCY at the closing-date rate, which left an ACY difference after closing.
- 11files
- 5AL files
- 2objects
Pull request · merged into main (BC30) on 2026-10-28 by MSNehaNawal · 11 files (+693 -43), 5 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Before the fix, the ACY amount was put in Source Currency Amount and ignored because the source currency code no longer matched the ACY
- A new manually bound codeunit subscribes to OnGLCalcAddCurrencyPostingNone and supplies the ACY amount
- Source Currency Amount now holds only real source currency values, and the 625803 behaviour stays the same
- The retained-earnings balance line also passes its ACY total through the handler
- New tests were added in the W1, BE, CZ, DE, ES and IT layers
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 12 “Gen. Jnl.-Post Line”, Base Application (ES layer): modified
- Report 94 “Close Income Statement”, Base Application: modified
src/Layers/IT/BaseApp/Finance/GeneralLedger/Setup/CloseIncomeStatement.Report.al: modified, not in the BC30 snapshotsrc/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/CloseIncStmtACYHandler.Codeunit.al: added, not in the BC30 snapshot yet
Context
- Work items: AB#656535
- Labels: Team: Finance
- Systems: finance
- From the description: “The ACY amount is supplied on its own.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- General Journal Post Line Overview — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Types of events for extensibility — possibly related: touches Codeunit 12 “Gen. Jnl.-Post Line”
- Close Income Statement Accounts — possibly related: Documents closing income statement accounts and posting year-end entries to balance sheet. (model-linked)
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).