#12985 [Master] - Bug 654115: [Expense Agent] Cannot submit report with a non-refundable Employee Paid line: 'nothing to refund' blocks release, report stuck in draft
Fixes an issue where expense reports with non-refundable employee paid lines couldn't be submitted due to a 'nothing to refund' error that blocked the release process.
- 5files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-11-03 by v-rohangarg20 · 5 files (+261 -14), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Users can now release and submit expense reports containing non-refundable employee paid lines
- The validation that blocked submission for non-refundable lines has been corrected
- Additional test cases ensure the fix handles various expense report scenarios
- Changes in post management and release logic prevent the erroneous error message
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 6997 “Expense Preview Post Mgt.”, ExpenseAgent: modified
- Codeunit 6987 “Expense Report-Post”, ExpenseAgent: modified
- Codeunit 6984 “Release Exp. Report Document”, ExpenseAgent: modified
Context
- Work items: AB#654115
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create and Submit Expense Reports — possibly related: Documents creating and submitting expense reports including validation and review. (model-linked)
- Post Expense Reports in Business Central — possibly related: Explains posting approved expense reports to general ledger and reimbursement processing. (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).