code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#10096 Fix Close Income Statement grouping when no dimensions are selected

Fixed the Close Income Statement report to properly group G/L entries by account, business unit, and source currency when no dimensions are selected, and ensured closing lines retain source currency codes even when amounts net to zero.

Pull request · merged into main (BC30) on 2026-08-17 by ventselartur · 8 files (+1179 -36), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Entry grouping now works correctly regardless of dimension selection by keying the buffer on business unit, dimension combination, and source currency
  • Added dimension buffer ID mapping to handle cases where dimension combinations are reused across source currencies
  • Source currency codes are preserved on closing lines even when the source currency amount nets to zero
  • Entry grouping state is properly cleared between account batches using the new ResetEntryNoGrouping method
  • Added comprehensive tests covering both scenarios with and without Additional Reporting Currency
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646076, AB#646077
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “entries that share those values collapse into one closing line even when no dimensions are selected”

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