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

Table 6927 "Expense Rule Header"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

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

Neighbourhood 11 connected objects and pages

Table 204 "Unit of Measure" (relates to)Unit of MeasureTable 4 "Currency" (relates to)CurrencyTable 6921 "Expense Category" (relates to)Expense CategoryTable 6925 "Expense Location" (relates to)Expense LocationPage 6900 "Expense Management Rules" (pages and codeunits on it, 2 links)Expense Management RulesCodeunit 7128 "Create Expense Rule Headers" (pages and codeunits on it)Create Expense Rule HeadersPage 6901 "Expense Rule Card" (pages and codeunits on it)Expense Rule CardPage 6923 "Expense Rules API" (pages and codeunits on it)Expense Rules APIPage 6959 "Exp. Rules Preview" (pages and codeunits on it)Exp. Rules PreviewCodeunit 6902 "Expense Rule Validation" (calls)Expense Rule ValidationSet Up Expense Categories, Rules, and Policies (Learn pages)Set Up Expense Categories, R…

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 4e6a307c · facts from BC29

Learn documents this table through its pages: Page 6900 “Expense Management Rules” (1 Learn page), Page 6901 “Expense Rule Card” (1).

Properties

Property Value
Caption Expense Rule Header
DataClassification CustomerContent
LookupPageId Expense Management Rules

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 Category Code Code[20] Specifies the expense category for this rule. via Page 6901 “Expense Rule Card” TableRelation Table 6921 “Expense Category” (Expense Category); NotBlank
2 Expense Location Code[20] Specifies the expense location for this rule. via Page 6901 “Expense Rule Card” TableRelation Table 6925 “Expense Location” (Expense Location)
3 Effective Date Date Specifies when this rule becomes effective. via Page 6901 “Expense Rule Card”
30 Justification Required Enum “Expense Justification” Specifies when justification is required for expenses under this rule. via Page 6901 “Expense Rule Card” enum Enum 6908 “Expense Justification”
40 Required Specific Merchant Boolean Specifies if a specific merchant is required for this expense category and location. via Page 6901 “Expense Rule Card”
41 Specific Merchant Name Text[100] Specifies the required merchant name. via Page 6901 “Expense Rule Card”
60 Currency Code Code[10] Specifies the required currency code for expenses under this rule. Leave blank if any currency is allowed. via Page 6901 “Expense Rule Card” TableRelation Table 4 “Currency”
61 Unit of Measure Code Code[10] Specifies the required unit of measure code for mileage expenses under this rule (e.g., Miles, Kilometers). Leave blank if any unit of measure is allowed. via Page 6901 “Expense Rule Card” TableRelation Table 204 “Unit of Measure” (Unit of Measure)

Keys

  • PK: Expense Category Code, Expense Location, Effective Date (clustered)

Procedures

  • FindApplicableRule(ExpenseReportLine: Record "Expense Report Line"): Boolean: Finds the latest expense rule that applies to the expense category, location, and date of the expense report line.
  • FindApplicableRule(Expense: Record Expense): Boolean: Finds the latest expense rule that applies to the expense category, location, and date of the expense.
  • FindPerDiemCategory(ExpenseLocationCode: Code[20]; EffectiveOnDate: Date): Code[20] (internal): Finds the first active per diem expense category, in key order, that has a rule for the expense location.

Plus 4 local procedures.

Triggers

OnDelete, OnRename

Relations

Pages and codeunits on this 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.

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

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 Rule Header"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources