---
id: object/table/6905
type: object
title: Table 6905 "Expense Per Diem"
summary: Table 6905 "Expense Per Diem" in ExpenseAgent (Microsoft.ExpenseAgent). 15 fields, 1 public procedures. 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: a9412f69c71aa093dc75f63ff39853a50ff94f4ca6aae811efa41f9d7058c8a7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/Expense/Tables/ExpensePerDiem.Table.al
    title: src/Apps/W1/ExpenseAgent/app/src/Expense/Tables/ExpensePerDiem.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-create-expenses
    - https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-per-diem-mileage
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/expense-management-preview/set-up-expense-management
    - topic/business-central/business-functionality/expense-management-preview/work-with-expenses-in-business-central
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9859
object_type: table
object_id: 6905
name: Expense Per Diem
caption: Per Diem Expense
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: 15
  procedures: 8
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 6905 "Expense Per Diem"

> Table 6905 "Expense Per Diem" in ExpenseAgent (Microsoft.ExpenseAgent). 15 fields, 1 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · captioned "Per Diem Expense" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/Expense/Tables/ExpensePerDiem.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 6974 "Per Diem Expenses"](../page/6974.md) (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"](../table/6921.md) ("Expense Category".Code where(Inactive = const(false))) |
| 5 | Expense Subcategory Code | Code[20] | — | TableRelation [Table 6929 "Expense Subcategory"](../table/6929.md) ("Expense SubCategory".Code where("Expense Category Code" = field("Expense Category Code"), Inactive = const(false))) |
| 6 | Expense Location | Code[30] | — | TableRelation [Table 6925 "Expense Location"](../table/6925.md) ("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. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> |  |
| 8 | Date | Date | Specifies the date covered by this per diem entry. Editable until a rule is applied to the expense. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> |  |
| 9 | Breakfast | Boolean | Specifies whether breakfast was provided; reduces the per diem. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> |  |
| 10 | Lunch | Boolean | Specifies whether lunch was provided; reduces the per diem. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> |  |
| 11 | Dinner | Boolean | Specifies whether dinner was provided; reduces the per diem. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> |  |
| 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. <small>via [Page 6974 "Per Diem Expenses"](../page/6974.md)</small> | 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"](../page/6974.md)
- Expense Category Code: TableRelation [Table 6921 "Expense Category"](../table/6921.md)
- Expense Location: TableRelation [Table 6925 "Expense Location"](../table/6925.md)
- Expense Subcategory Code: TableRelation [Table 6929 "Expense Subcategory"](../table/6929.md)

## Pages and codeunits on this table

- [Page 6954 "Expense Per Diem API"](../page/6954.md) (source table)
- [Page 6974 "Per Diem Expenses"](../page/6974.md) (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"](../codeunit/6903.md) (2 calls: `InitializeRoundingPrecision → GetExpense`, `UpdateExpenseInformation → GetExpense`)
- [Codeunit 1511 "Notification Lifecycle Mgt."](../codeunit/1511.md) (1 call: `SendMissingExpenseLocationNotification → SendNotification`)
- [Codeunit 6902 "Expense Rule Validation"](../codeunit/6902.md) (1 call: `UpdateTotalOnExpense → ValidateExpenseAgainstRule`)

## Recent changes

- 2026-08-04 [#9859 [Master] - Move Expense Agent (Preview) app into BCApps](../../changes/bcapps/9859.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). 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.
