---
id: change/bcapps/10382
type: change
title: "#10382 [Expense Agent] Fix administrative recall history access"
summary: Expense Report recall authorization is now restricted to the submitter or users with Unlimited Expense Approval, and non-submitter recalls are recorded as administrative activity outside the approval history.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - enum expense activity actor role
  - codeunit expense report approval mgmt
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:08.512Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: e0342c5b6d9c18401862ae2a18eb81164b6cc368
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10382
    title: "microsoft/BCApps#10382: [Expense Agent] Fix administrative recall history access"
    date: "2026-08-20"
    commit: e0342c5b6d9c18401862ae2a18eb81164b6cc368
    t: null
    quote: authorize pending expense report recall only for the captured submitter or a user with Unlimited Expense Approval
links:
  learn: []
  objects:
    - object/enum/6924
    - object/codeunit/6901
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10382
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10382
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-20T20:02:00Z"
author: t-prda
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Ownership: Manual"
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 3
  additions: 214
  deletions: 5
  al: 2
apps:
  - ExpenseAgent
objects_touched:
  - key: enum/6924
    page: enum/6924
    type: enum
    id: 6924
    name: Expense Activity Actor Role
    app: ExpenseAgent
    status: modified
  - 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:
  - 647041
systems:
  - development
quote: authorize pending expense report recall only for the captured submitter or a user with Unlimited Expense Approval
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10382 [Expense Agent] Fix administrative recall history access

> Expense Report recall authorization is now restricted to the submitter or users with Unlimited Expense Approval, and non-submitter recalls are recorded as administrative activity outside the approval history.

[Pull request](https://github.com/microsoft/BCApps/pull/10382) · merged into `main` (BC30) on 2026-08-20 by t-prda · 3 files (+214 -5), 2 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Only the captured submitter or a user with Unlimited Expense Approval can recall a pending expense report
- Recalls by someone other than the submitter are logged as BC User activity with a new Administrator role
- Administrative activity is kept out of submitter and approver history
- Tests cover genuine submitter, mapped and unmapped administrator, and unauthorized recall scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Enum 6924 "Expense Activity Actor Role"](../../objects/enum/6924.md), ExpenseAgent: modified
- [Codeunit 6901 "Expense Report Approval Mgmt"](../../objects/codeunit/6901.md), ExpenseAgent: modified

## Context

- Work items: AB#647041
- Labels: AL: Apps (W1), Ownership: Manual, Team: Finance
- Systems: development
- From the description: "authorize pending expense report recall only for the captured submitter or a user with Unlimited Expense Approval"

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).
