---
id: change/bcapps/13978
type: change
title: "#13978 [Main] - Bug 658633: [Expense Agent] Limited self-approval cannot be combined with escalation to an unlimited approver"
summary: Fixed approval handling in Expense Agent to allow limited self-approval to work correctly when combined with escalation to an unlimited approver.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit expense report approval mgmt
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-19T00:57:37.230Z"
  flags: []
generated:
  at: "2026-11-30T10:37:49.603Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a82ac867bce38b92d39be14684074dbb3b94d226
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13978
    title: "microsoft/BCApps#13978: [Main] - Bug 658633: [Expense Agent] Limited self-approval cannot be combined with escalation to an unlimited approver"
    date: "2026-11-18"
    commit: a82ac867bce38b92d39be14684074dbb3b94d226
    t: null
    quote: Fixes the issue preventing limited self-approval from being combined with escalation to an unlimited approver in Expense Agent.
links:
  learn: []
  objects:
    - object/codeunit/6901
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-approve-reports
      title: Approve Expense Reports and Travel Requests
      label: possibly related
      why: Documents expense report approval workflows and limitations for different approver types.
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users
      title: Set up approval users
      label: possibly related
      why: Documents approval user setup that controls escalation and approval limits for expense approvals.
      by: model
number: 13978
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13978
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-18T05:40:17Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 388
  deletions: 5
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6901
    page: codeunit/6901
    type: codeunit
    id: 6901
    name: Expense Report Approval Mgmt
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658633
systems:
  - copilot
quote: Fixes the issue preventing limited self-approval from being combined with escalation to an unlimited approver in Expense Agent.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13978 [Main] - Bug 658633: [Expense Agent] Limited self-approval cannot be combined with escalation to an unlimited approver

> Fixed approval handling in Expense Agent to allow limited self-approval to work correctly when combined with escalation to an unlimited approver.

[Pull request](https://github.com/microsoft/BCApps/pull/13978) · merged into `main` (BC30) on 2026-11-18 by v-rohangarg20 · 3 files (+388 -5), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Resolves issue where limited self-approval could not be combined with escalation to unlimited approver
- Updates approval handling logic in ExpenseReportApprovalMgmt codeunit
- Ensures approval limits are properly enforced in escalation scenarios
- Adds test coverage for interim approval configurations
- Approval workflow now proceeds with configured escalation behavior
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6901 "Expense Report Approval Mgmt"](../../objects/codeunit/6901.md), ExpenseAgent: modified

## Context

- Work items: AB#658633
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot
- From the description: "Fixes the issue preventing limited self-approval from being combined with escalation to an unlimited approver in Expense Agent."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Approve Expense Reports and Travel Requests](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-approve-reports) — possibly related: Documents expense report approval workflows and limitations for different approver types. (model-linked)
- [Set up approval users](https://learn.microsoft.com/dynamics365/business-central/across-how-to-set-up-approval-users) — possibly related: Documents approval user setup that controls escalation and approval limits for expense approvals. (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).
