---
id: object/table/6910
type: object
title: Table 6910 "Expense Report Rule Violation"
summary: Table 6910 "Expense Report Rule Violation" in ExpenseAgent (Microsoft.ExpenseAgent). 4 fields, 2 public procedures. 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: e3d9aac05ca7cb94c66da3d1081d770e7d51210ad3121799bc4d3390d0b7d22b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/ExpenseReport/Tables/ExpenseReportRuleViolation.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/ExpenseReport/Tables/ExpenseReportRuleViolation.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/9859
object_type: table
object_id: 6910
name: Expense Report Rule Violation
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: 4
  procedures: 3
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 6910 "Expense Report Rule Violation"

> Table 6910 "Expense Report Rule Violation" in ExpenseAgent (Microsoft.ExpenseAgent). 4 fields, 2 public procedures. 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/ExpenseReport/Tables/ExpenseReportRuleViolation.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| 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 Report No. | Code[20] | — | TableRelation [Table 6906 "Expense Report Header"](../table/6906.md) ("Expense Report Header"."No.") |
| 2 | Report Line No. | Integer | — |  |
| 3 | Line No. | Integer | — |  |
| 4 | Description | Text[500] | Specifies the description of the rule violation. <small>via [Page 6932 "Expense Report Rule Violations"](../page/6932.md)</small> |  |

## Keys

- Key1: Expense Report No., Report Line No., Line No. (clustered)

## Procedures

- `ClearRuleViolations(ExpenseReportNo: Code[20]; ReportLineNo: Integer)`
- `AddRuleViolation(ExpenseReportNo: Code[20]; ReportLineNo: Integer; Violation: Text[500])`

Plus 1 local procedures.

## Triggers

OnInsert

## Relations

- Expense Report No.: TableRelation [Table 6906 "Expense Report Header"](../table/6906.md)

## Referenced by

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

- [Table 6907 "Expense Report Line"](../table/6907.md): Rule Violations

## Pages and codeunits on this table

- [Page 6932 "Expense Report Rule Violations"](../page/6932.md) (source table)
- [Page 6964 "Exp. Rep. Rule Violations API"](../page/6964.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (1 call: `GetNextLineNo → GetNextSeqNo`)

## 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). The call sections above are our own, per object, from the BC29 call graph. 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 Report Rule Violation")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
