code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#10412 Fixes in Excel reports for Aged Accounts.

Aged Accounts Excel reports now properly handle customers and vendors with historical balances outside the selected date range and correctly assign transactions to aging buckets.

Pull request · merged into main (BC30) on 2026-08-24 by mynjj · 4 files (+246 -84), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Added a new aging bucket from 0D to cover all historical activity before the main period
  • Fixed bucket assignment logic for ending dates by using index-based retrieval instead of descending list comparison
  • Removed due date filter to include all outstanding balances regardless of due date status
  • Filtering for customers/vendors without due balance now considers full history, not just the selected period
  • Added comprehensive tests for historical balances, bucket assignment, and not-yet-due transactions
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#642030
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: finance
  • From the description: “The aged buckets were not covering the whole history for a customer, only bounded to the end date supplied.”

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