---
id: change/bcapps/11889
type: change
title: "#11889 [Master] - Bug 651129: Expense Agent - Distance UOM in Configuration"
summary: Expense Agent setup now includes distance unit of measure configuration, enabling users to specify the unit of measure for mileage expense calculations.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit create expense agent setup
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:50.402Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 19ed4f16311816fe131ee5c951ce2eec5a26c319
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11889
    title: "microsoft/BCApps#11889: [Master] - Bug 651129: Expense Agent - Distance UOM in Configuration"
    date: "2026-10-01"
    commit: 19ed4f16311816fe131ee5c951ce2eec5a26c319
    t: null
    quote: Adds the Distance UOM configuration to Expense Agent, allowing users to define the unit of measure used for distance-based mileage expenses.
links:
  learn: []
  objects:
    - object/codeunit/6970
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11889
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11889
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-01T11:45:40Z"
author: v-rohangarg20
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 1
  additions: 31
  deletions: 8
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6970
    page: codeunit/6970
    type: codeunit
    id: 6970
    name: Create Expense Agent Setup
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 651129
systems:
  - development
quote: Adds the Distance UOM configuration to Expense Agent, allowing users to define the unit of measure used for distance-based mileage expenses.
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11889 [Master] - Bug 651129: Expense Agent - Distance UOM in Configuration

> Expense Agent setup now includes distance unit of measure configuration, enabling users to specify the unit of measure for mileage expense calculations.

[Pull request](https://github.com/microsoft/BCApps/pull/11889) · merged into `main` (BC30) on 2026-10-01 by v-rohangarg20 · 1 file (+31 -8), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Adds Distance UOM configuration to the Expense Agent
- Lets users define the unit of measure for distance-based mileage expenses
- Implemented in the Create Expense Agent Setup codeunit
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6970 "Create Expense Agent Setup"](../../objects/codeunit/6970.md), ExpenseAgent: modified

## Context

- Work items: AB#651129
- Labels: AL: Apps (W1), Team: Finance
- Systems: development
- From the description: "Adds the Distance UOM configuration to Expense Agent, allowing users to define the unit of measure used for distance-based mileage expenses."

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