#13910 [Main] - Bug 657627: [Expense Agent] Expense User Card rejects manual approval setup with duplicate error
The Expense User Card now reuses an existing unassigned approval setup instead of rejecting it with a duplicate error, and allows replacing an assigned approver after confirmation.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-24 by v-rohangarg20 · 2 files (+151 -9), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- An unassigned existing setup is automatically assigned to the card owner
- Replacing a different approver requires confirmation showing both approvers
- Adding a user already assigned to the same approver preserves the original validation error
- Noninteractive execution does not authorize approver replacement
- Regression tests added for unassigned setup, confirmed replacement, and duplicate assignment scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Page 6947 “Expense Approval Setups Part”, ExpenseAgent: modified
Context
- Work items: AB#657627
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
- From the description: “Reuse an existing Expense Approval Setup when manually adding a user from the Expense User Card, rather than failing to insert a duplicate.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Review and Approve Expense Reports — possibly related: Documents expense report approval workflows and manual approval setup process (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).