---
id: object/table/7096
type: object
title: Table 7096 "Expense Policy Evaluation"
summary: Table 7096 "Expense Policy Evaluation" in ExpenseAgent (Microsoft.ExpenseAgent). 11 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: b761150000bbb55285e468ad68bbe60e60ce306fade90cae8cd0872019d68010
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/Expense/Tables/ExpensePolicyEvaluation.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/Expense/Tables/ExpensePolicyEvaluation.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/10631
    - change/bcapps/10031
object_type: table
object_id: 7096
name: Expense Policy Evaluation
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: 11
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 1
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7096 "Expense Policy Evaluation"

> Table 7096 "Expense Policy Evaluation" in ExpenseAgent (Microsoft.ExpenseAgent). 11 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/Expense/Tables/ExpensePolicyEvaluation.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Expense Policy Evaluation |
| 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 | Subject System Id | Guid | — |  |
| 2 | Policy System Id | Guid | — | TableRelation [Table 7092 "Expense Policy"](../table/7092.md) ("Expense Policy".SystemId) |
| 3 | Subject Version | Integer | — | not editable |
| 4 | Policy Version | Integer | — | not editable |
| 5 | Subject Type | Enum "Expense Policy Subject" | Specifies the type of record this policy evaluation belongs to. <small>via [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md)</small> | enum [Enum 6990 "Expense Policy Subject"](../enum/6990.md) |
| 6 | Expense Category Code | Code[20] | Specifies the expense category the evaluated policy applies to. <small>via [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md)</small> |  |
| 7 | Reason | Text[2048] | Specifies the reason for the policy evaluation result. <small>via [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md)</small> |  |
| 8 | Policy Text | Text[2048] | Specifies the policy text that the AI evaluated. It is preserved even if the policy changes later. <small>via [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md)</small> |  |
| 9 | Evaluated At | DateTime | Specifies when the policy was evaluated. <small>via [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md)</small> | not editable |
| 10 | Compliant | Boolean | Specifies whether the expense complied with this policy when it was evaluated. <small>via [Page 7124 "Expense Policy Evaluations"](../page/7124.md)</small> |  |
| 12 | Is Current | Boolean | — | FlowField: exist("Expense Policy" where(SystemId = field("Policy System Id"), "Version" = field("Policy Version"))); not editable |

## Keys

- PK: Subject Type, Subject System Id, Policy System Id, Subject Version, Policy Version (clustered)
- Category: Expense Category Code
- EvaluatedAt: Evaluated At

## Triggers

OnInsert

## Relations

- Is Current: CalcFormula [Table 7092 "Expense Policy"](../table/7092.md)
- Policy System Id: TableRelation [Table 7092 "Expense Policy"](../table/7092.md)

## Referenced by

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

- [Table 6907 "Expense Report Line"](../table/6907.md): Has Policy Violation

## Pages and codeunits on this table

- [Page 7124 "Expense Policy Evaluations"](../page/7124.md) (source table)
- [Page 7125 "Expense Policy Evaluation Card"](../page/7125.md) (source table)
- [Page 7126 "Expense Policy Evaluations API"](../page/7126.md) (source table)

## Recent changes

- 2026-08-26 [#10631 Integration/main to releases 29.x 31a860b5](../../changes/bcapps/10631.md) (releases/29.x, BC29, feature, added)
- 2026-08-21 [#10031 Add AI-assisted policy evaluation backend to Expense Agent](../../changes/bcapps/10031.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 Policy Evaluation")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
