code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#10255 Add expense activity history foundation

Expense activity history foundation adds tracking of lifecycle events for expense reports with an append-only activity log table, read-only APIs scoped by report and user role, factbox UI components, and comprehensive test coverage.

Pull request · merged into main (BC30) on 2026-08-17 by t-prda · 33 files (+2546 -37), 24 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New append-only activity log table records expense report lifecycle events (Created, Submitted, Approved, Rejected, Posted, etc.)
  • Activity log captures actor, role, comments, financial snapshots, categories, and receipt counts for each event
  • Read-only APIs expose activity history filtered by report scope or limited to Expense User role with actor role requirements
  • Factbox components display activity history in active/posted reports and manager views
  • ActivityLog capability registered with comprehensive unit, API, and posting tests
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#639704, AB#644172
  • Labels: AL: Apps (W1), Team: Integrations
  • Systems: development
  • From the description: “add a single append-only expense activity table whose source reference moves from the active report to the posted report”

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