---
id: object/table/6925
type: object
title: Table 6925 "Expense Location"
summary: Table 6925 "Expense Location" in ExpenseAgent (Microsoft.ExpenseAgent). 5 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 1b3018ed571dcdba7366e1431c670d750ca6105a350e95b0664be54f58768536
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/MasterData/Tables/ExpenseLocation.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/MasterData/Tables/ExpenseLocation.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-categories-rules
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/expense-management-preview/set-up-expense-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9859
object_type: table
object_id: 6925
name: Expense Location
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 5
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 6
  pages: 4
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6925 "Expense Location"

> Table 6925 "Expense Location" in ExpenseAgent (Microsoft.ExpenseAgent). 5 fields. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/MasterData/Tables/ExpenseLocation.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 6920 "Expense Location Card"](../page/6920.md) (1 Learn page), [Page 6937 "Expense Locations"](../page/6937.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Expense Location |
| Access | Internal |
| DataClassification | CustomerContent |
| LookupPageId | Expense Locations |
| DrillDownPageId | Expense Location Card |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | No. | Code[20] | Specifies the location number. <small>via [Page 6920 "Expense Location Card"](../page/6920.md)</small> | NotBlank |
| 2 | Description | Text[100] | Specifies the description of the expense location. Used for per-diem calculations. <small>via [Page 6920 "Expense Location Card"](../page/6920.md)</small> |  |
| 3 | Country/Region Code | Code[10] | Specifies the country/region code for the expense location. <small>via [Page 6920 "Expense Location Card"](../page/6920.md)</small> | TableRelation [Table 9 "Country/Region"](../table/9.md) ("Country/Region".Code) |
| 4 | City | Text[30] | Specifies the city for the expense location. This field is optional and used only when multiple locations exist in the same country/region. <small>via [Page 6920 "Expense Location Card"](../page/6920.md)</small> | TableRelation [Table 225 "Post Code"](../table/225.md) (if ("Country/Region Code" = const('')) "Post Code".City else if ("Country/Region Code" = filter(<> '')) "Post Code".City where("Country/Region Code" = field("Country/Region Code"))) |
| 5 | County | Text[30] | Specifies the state, province or county as a part of the address. |  |

## Keys

- PK: No. (clustered)

## Procedures

1 local procedures, no public ones.

## Triggers

OnInsert, OnModify

## Relations

- drill-down page [Page 6920 "Expense Location Card"](../page/6920.md)
- lookup page [Page 6937 "Expense Locations"](../page/6937.md)
- City: TableRelation [Table 225 "Post Code"](../table/225.md) (conditional)
- Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)

## Referenced by

6 fields in 6 objects relate to this table (TableRelation or CalcFormula).

- [Table 6900 "Expense"](../table/6900.md): Expense Location
- [Table 6905 "Expense Per Diem"](../table/6905.md): Expense Location
- [Table 6907 "Expense Report Line"](../table/6907.md): Expense Location
- [Table 6916 "Posted Expense Report Line"](../table/6916.md): Expense Location
- [Table 6926 "Expense Rule Condition"](../table/6926.md): Expense Location
- [Table 6927 "Expense Rule Header"](../table/6927.md): Expense Location

## Pages and codeunits on this table

- [Page 6920 "Expense Location Card"](../page/6920.md) (source table)
- [Page 6921 "Expense Locations API"](../page/6921.md) (source table)
- [Page 6937 "Expense Locations"](../page/6937.md) (source table)
- [Page 6970 "Exp. Locations Preview"](../page/6970.md) (source table)
- [Codeunit 7124 "Create Expense Locations"](../codeunit/7124.md) (codeunit runs on it)

## Recent changes

- 2026-08-04 [#9859 [Master] - Move Expense Agent (Preview) app into BCApps](../../changes/bcapps/9859.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Expense Location")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
