#10638 [Master] [Expense Agent] Bug 639921 Confirm before closing Expense User Card without Employee No.
The Expense User card now prompts for confirmation when closing without selecting an employee, preventing accidental creation of unlinked expense user records.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-02 by v-rohangarg20 · 2 files (+13 -0), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Added OnQueryClosePage trigger to validate Employee No. field before closing
- User receives confirmation dialog when trying to close with blank Employee No.
- Prevents silent creation of expense users not linked to an employee
- Tests updated with handler functions to manage confirmation dialogs
- Behaviour changes for users or extensions.
AL objects touched
- Page 6949 “Expense User”, ExpenseAgent: modified
Context
- Work items: AB#639921
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
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).