---
id: object/table/6926
type: object
title: Table 6926 "Expense Rule Condition"
summary: Table 6926 "Expense Rule Condition" in ExpenseAgent (Microsoft.ExpenseAgent). 6 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: fe574768ebc791c24e3a017813f63eb6b30c6ee586f686d272f67ad3e833b243
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/MasterData/Tables/ExpenseRuleCondition.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/MasterData/Tables/ExpenseRuleCondition.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11425
    - change/bcapps/10155
    - change/bcapps/9859
object_type: table
object_id: 6926
name: Expense Rule Condition
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: 6
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6926 "Expense Rule Condition"

> Table 6926 "Expense Rule Condition" in ExpenseAgent (Microsoft.ExpenseAgent). 6 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/ExpenseRuleCondition.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Expense Rule Condition |
| Access | Internal |
| DataClassification | CustomerContent |

## 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 | Expense Category Code | Code[20] | — | TableRelation [Table 6921 "Expense Category"](../table/6921.md) (Expense Category) |
| 2 | Expense Location | Code[20] | — | TableRelation [Table 6925 "Expense Location"](../table/6925.md) (Expense Location) |
| 3 | Effective Date | Date | — |  |
| 4 | Line No. | Integer | — |  |
| 10 | Condition Type | Enum "Expense Rule Condition Type" | Specifies the type of rule condition. <small>via [Page 6902 "Expense Rule Conditions"](../page/6902.md)</small> | enum [Enum 6911 "Expense Rule Condition Type"](../enum/6911.md) |
| 20 | Value | Decimal | Specifies the maximum amount for this condition (if applicable). <small>via [Page 6902 "Expense Rule Conditions"](../page/6902.md)</small> |  |

## Keys

- PK: Expense Category Code, Expense Location, Effective Date, Line No. (clustered)

## Procedures

3 local procedures, no public ones.

## Triggers

OnRename

## Relations

- Expense Category Code: TableRelation [Table 6921 "Expense Category"](../table/6921.md)
- Expense Location: TableRelation [Table 6925 "Expense Location"](../table/6925.md)

## Pages and codeunits on this table

- [Page 6902 "Expense Rule Conditions"](../page/6902.md) (source table)
- [Page 6922 "Expense Rule Conditions API"](../page/6922.md) (source table)
- [Page 6965 "Exp. Rule Conditions Preview"](../page/6965.md) (source table)
- [Codeunit 7126 "Create Expense Rule Conditions"](../codeunit/7126.md) (codeunit runs on it)

## Recent changes

- 2026-09-15 [#11425 Bug 650137: [29.x] Expense Locations and Per-diem rules in configuration - Backport](../../changes/bcapps/11425.md) (releases/29.x, BC29, feature)
- 2026-09-10 [#10155 Slice 641293: [Expense Agent] Expense Locations and Per-diem rules in configurationAdded more locations](../../changes/bcapps/10155.md) (main, BC30, feature)
- 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 Rule Condition")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
