Table 7092 "Expense Policy"
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 7127 “Expense Policies” (2 Learn pages).
Properties
| Property | Value |
|---|---|
| Caption | Expense Policy |
| 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 Type | Enum “Expense Policy Subject” | — | enum Enum 6990 “Expense Policy Subject” |
| 2 | Line No. | Integer | — | |
| 10 | Expense Category Code | Code[20] | Specifies the expense category this policy applies to. via Page 7127 “Expense Policies” | TableRelation Table 6921 “Expense Category” (Expense Category) |
| 11 | Description | Text[50] | Specifies a short description of the policy. via Page 7127 “Expense Policies” | |
| 12 | Policy Text | Text[2048] | Specifies the full policy text that the AI evaluates expenses against. via Page 7127 “Expense Policies” | |
| 20 | Enabled | Boolean | Specifies whether this policy is active for evaluation. via Page 7127 “Expense Policies” | |
| 21 | Version | Integer | — | not editable |
Keys
- PK: Subject Type, Line No. (clustered)
- Category: Expense Category Code
- Applicable: Subject Type, Enabled, Expense Category Code
Procedures
SetApplicableToLineFilter(ExpenseReportLine: Record "Expense Report Line")(internal)AppliesToLine(ExpenseReportLine: Record "Expense Report Line"): Boolean(internal)
Plus 1 local procedures.
Triggers
OnInsert, OnModify
Relations
- Expense Category Code: TableRelation Table 6921 “Expense Category”
Referenced by
4 fields in 2 objects relate to this table (TableRelation or CalcFormula).
- Table 7096 “Expense Policy Evaluation”: Is Current, Policy System Id
- Table 7105 “Posted Exp. Policy Evaluation”: Is Current, Policy System Id
Pages and codeunits on this table
- Page 7104 “Expense Policies API” (source table)
- Page 7127 “Expense Policies” (source table)
Recent changes
- 2026-08-26 #10631 Integration/main to releases 29.x 31a860b5 (releases/29.x, BC29, feature, added)
- 2026-08-21 #10031 Add AI-assisted policy evaluation backend to Expense Agent (main, BC30, feature, added)
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"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.