---
id: change/bcapps/14405
type: change
title: "#14405 [Expense Agent] Renumber codeunits that collide with deprecated country apps"
summary: Three Expense Agent codeunits are renumbered from 6913-6915 to 6923-6925 to avoid collisions with deprecated country-specific Expense Agent apps that cause installation failures on thousands of tenants.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit expense agent quota impl.
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-11-24T01:03:39.668Z"
  flags: []
generated:
  at: "2026-11-24T00:13:35.655Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6e90028ff1e1c2541380b7c0ed154100bad654a8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14405
    title: "microsoft/BCApps#14405: [Expense Agent] Renumber codeunits that collide with deprecated country apps"
    date: "2026-11-23"
    commit: 6e90028ff1e1c2541380b7c0ed154100bad654a8
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6913
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 14405
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14405
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-23T10:07:11Z"
author: t-prda
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: false
breaking: false
files:
  count: 4
  additions: 11
  deletions: 3
  al: 3
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6913
    page: codeunit/6913
    type: codeunit
    id: 6913
    name: Expense Agent Quota Impl.
    app: ExpenseAgent
    status: modified
objects_unjoined:
  - path: src/Apps/W1/ExpenseAgent/app/src/Expense/Codeunits/NoReceiptDeclarationMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/W1/ExpenseAgent/app/src/Travel Request/Codeunits/TravelReqLinkedReports.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660279
  - 660280
  - 660284
  - 660285
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14405 [Expense Agent] Renumber codeunits that collide with deprecated country apps

> Three Expense Agent codeunits are renumbered from 6913-6915 to 6923-6925 to avoid collisions with deprecated country-specific Expense Agent apps that cause installation failures on thousands of tenants.

[Pull request](https://github.com/microsoft/BCApps/pull/14405) · merged into `main` (BC30) on 2026-11-23 by t-prda · 4 files (+11 -3), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Expense Agent Quota Impl. moves from 6913 to 6923
- No Receipt Declaration Mgt. moves from 6915 to 6925
- Travel Req. Linked Reports moves from 6914 to 6924
- Fixes production hotfix failures affecting ~8,000 US environments
- Reserved codeunit IDs documented in README to prevent future collisions

## AL objects touched

- [Codeunit 6913 "Expense Agent Quota Impl."](../../objects/codeunit/6913.md), ExpenseAgent: modified
- `src/Apps/W1/ExpenseAgent/app/src/Expense/Codeunits/NoReceiptDeclarationMgt.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/W1/ExpenseAgent/app/src/Travel Request/Codeunits/TravelReqLinkedReports.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#660279, AB#660280, AB#660284, AB#660285
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot

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