Table 6905 "Expense Per Diem"
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 10 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · captioned “Per Diem Expense” · BC29-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 6974 “Per Diem Expenses” (2 Learn pages).
Properties
| Property | Value |
|---|---|
| Caption | Per Diem Expense |
| Access | Internal |
| DataClassification | CustomerContent |
| LookupPageId | Per Diem Expenses |
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 No. | Code[20] | — | TableRelation Expense.“No.” |
| 2 | Line No. | Integer | — | |
| 4 | Expense Category Code | Code[20] | — | TableRelation Table 6921 “Expense Category” (“Expense Category”.Code where(Inactive = const(false))) |
| 5 | Expense Subcategory Code | Code[20] | — | TableRelation Table 6929 “Expense Subcategory” (“Expense SubCategory”.Code where(“Expense Category Code” = field(“Expense Category Code”), Inactive = const(false))) |
| 6 | Expense Location | Code[30] | — | TableRelation Table 6925 “Expense Location” (“Expense Location”.“No.”) |
| 7 | Description | Text[100] | Specifies a short description of this per diem entry. Editable until a rule is applied to the expense. via Page 6974 “Per Diem Expenses” | |
| 8 | Date | Date | Specifies the date covered by this per diem entry. Editable until a rule is applied to the expense. via Page 6974 “Per Diem Expenses” | |
| 9 | Breakfast | Boolean | Specifies whether breakfast was provided; reduces the per diem. via Page 6974 “Per Diem Expenses” | |
| 10 | Lunch | Boolean | Specifies whether lunch was provided; reduces the per diem. via Page 6974 “Per Diem Expenses” | |
| 11 | Dinner | Boolean | Specifies whether dinner was provided; reduces the per diem. via Page 6974 “Per Diem Expenses” | |
| 12 | Per Diem Amount | Decimal | Specifies the per diem amount for the day based on policy and meals provided. Editable until a rule is applied to the expense. via Page 6974 “Per Diem Expenses” | not editable |
| 13 | Original Per Diem Amount | Decimal | — | not editable |
| 14 | Breakfast Reduction Percent | Decimal | — | not editable |
| 15 | Lunch Reduction Percent | Decimal | — | not editable |
| 16 | Dinner Reduction Percent | Decimal | — | not editable |
Keys
- PK: Expense No., Line No. (clustered)
Procedures
SendMissingExpenseLocationNotification(ExpenseRecord: Record Expense)
Plus 7 local procedures.
Triggers
OnDelete
Relations
- lookup page Page 6974 “Per Diem Expenses”
- Expense Category Code: TableRelation Table 6921 “Expense Category”
- Expense Location: TableRelation Table 6925 “Expense Location”
- Expense Subcategory Code: TableRelation Table 6929 “Expense Subcategory”
Pages and codeunits on this table
- Page 6954 “Expense Per Diem API” (source table)
- Page 6974 “Per Diem Expenses” (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 6903 “Expense Currency” (2 calls:
InitializeRoundingPrecision → GetExpense,UpdateExpenseInformation → GetExpense) - Codeunit 1511 “Notification Lifecycle Mgt.” (1 call:
SendMissingExpenseLocationNotification → SendNotification) - Codeunit 6902 “Expense Rule Validation” (1 call:
UpdateTotalOnExpense → ValidateExpenseAgainstRule)
Recent changes
- 2026-08-04 #9859 [Master] - Move Expense Agent (Preview) app into BCApps (main, BC30, feature, added)
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 Per Diem"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.