tableCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Table 7092 "Expense Policy"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 7 connected objects and pages

Table 6921 "Expense Category" (relates to)Expense CategoryPage 7104 "Expense Policies API" (pages and codeunits on it)Expense Policies APIPage 7127 "Expense Policies" (pages and codeunits on it)Expense PoliciesTable 7096 "Expense Policy Evaluation" (referenced by, 2 links)Expense Policy EvaluationTable 7105 "Posted Exp. Policy Evaluation" (referenced by, 2 links)Posted Exp. Policy EvaluationSet Up Expense Categories, Rules, and Policies (Learn pages)Set Up Expense Categories, R…Set Up Expense Management in Business Central (Learn pages)Set Up Expense Management in…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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

Referenced by

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

Pages and codeunits on this table

Recent changes

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.

Evidence 1 sources