---
id: object/table/6951
type: object
title: Table 6951 "EA KPI Entry"
summary: Table 6951 "EA KPI Entry" in ExpenseAgent (Microsoft.ExpenseAgent). 8 fields, 1 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: 8305451e02f1b3cd1eea0f6509bd2377c58974389f2526689a028417969c78cd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/KPI/EAKPIEntry.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/KPI/EAKPIEntry.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/11481
    - change/bcapps/9859
object_type: table
object_id: 6951
name: EA KPI Entry
caption: Expense Agent KPI Entry
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: 8
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 6951 "EA KPI Entry"

> Table 6951 "EA KPI Entry" in ExpenseAgent (Microsoft.ExpenseAgent). 8 fields, 1 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · captioned "Expense Agent KPI Entry" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/KPI/EAKPIEntry.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Expense Agent KPI Entry |
| 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 | Record Type | Option | Specifies the type of the record that is being tracked. | OptionCaption: ,Expense,Expense Report,Expense Report Line |
| 2 | No. | Code[20] | Specifies the number of the record that is being tracked. |  |
| 3 | Line No. | Integer | Specifies the line number of the record that is being tracked. |  |
| 4 | Has Itemization | Boolean | Specifies whether the tracked expense report line has itemization. |  |
| 5 | Created by User ID | Guid | Specifies the security ID of the agent user who created the record. |  |
| 6 | Created By Exp. User Id | Guid | Specifies the SystemId of the Expense User on whose behalf the record was created by the Expense Agent. | DataClassification EndUserPseudonymousIdentifiers |
| 7 | Created By Entra App Id | Guid | Specifies the Business Central user security id that backs the Expense Agent Entra (AAD) application. Used to attribute KPI entries to the agent independently of the calling session. |  |
| 8 | Expense User Name | Text[100] | Specifies the name of the Expense User on whose behalf the record was created by the Expense Agent. | FlowField: lookup("Expense User".Name where(SystemId = field("Created By Exp. User Id"))); not editable |

## Keys

- Key1: Record Type, No., Line No. (clustered)
- Key3: Created by User ID

## Procedures

- `OpenCard()` (internal)

## Relations

- Expense User Name: CalcFormula [Table 6923 "Expense User"](../table/6923.md)

## Pages and codeunits on this table

- [Page 7075 "EA KPI Entries"](../page/7075.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 6910 "Expense Report"](../codeunit/6910.md) (1 call: `OpenCard → (object)`)
- [Page 6911 "Expense Report Lines"](../page/6911.md) (1 call: `OpenCard → (object)`)
- [Page 6988 "Expense"](../page/6988.md) (1 call: `OpenCard → (object)`)

## Recent changes

- 2026-09-15 [#11481 [Master] - Bug 648681: [Expense Agent] Fix Expense Agent KPI report-line drill-down filter](../../changes/bcapps/11481.md) (main, BC30, fix)
- 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: "EA KPI Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
