#10570 Expense Agent: add approval conversation to expense reports
The Expense Agent now supports approval conversations by storing submitter comments, exposing them through the API, adding a pending-approval action with optional comments, and recording comments in activity events.
- 12files
- 8AL files
- 8objects
Pull request · merged into main (BC30) on 2026-09-02 by t-prda · 12 files (+288 -39), 8 AL · feature · tier official · reviewed (checked by Opus)
What changed
- The latest submitter comment is stored on the Expense Report Header
- The Expense Reports API exposes both latest comments
- New capability-backed pending-approval action that takes an optional comment
- Comments are recorded on the existing Submitted/Resubmitted and Rejected activity events
- Historical comments are shortened with an ellipsis, and the existing Expense Report page extension point is kept
- Behaviour changes for users or extensions.
AL objects touched
- Page 6928 “Expense Reports API”, ExpenseAgent: modified
- Codeunit 6926 “Expense Activity Log Mgt.”, ExpenseAgent: modified
- Codeunit 6901 “Expense Report Approval Mgmt”, ExpenseAgent: modified
- Codeunit 6906 “Expense Capabilities Provider”, ExpenseAgent: modified
- Enum 6984 “Expense Capability”, ExpenseAgent: modified
- Codeunit 6984 “Release Exp. Report Document”, ExpenseAgent: modified
- Page 6910 “Expense Report”, ExpenseAgent: modified
- Table 6906 “Expense Report Header”, ExpenseAgent: modified
Context
- Work items: AB#633685
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
- From the description: “Add Business Central support for the Expense Agent approval conversation.”
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).