---
id: object/page/7122
type: object
title: Page 7122 "Expense Activity Log API"
summary: Page 7122 "Expense Activity Log API" in ExpenseAgent (Microsoft.ExpenseAgent). Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - page
  - expenseagent
versions:
  introduced: "29"
  last_changed: "30"
  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: 7910be0f02af899a58cf9deb2a7fbc15329277dc146be29f448a55b655700331
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/APIs/ActivityLog/ExpenseActivityLogAPI.Page.al
    title: src/Apps/W1/ExpenseAgent/app/src/APIs/ActivityLog/ExpenseActivityLogAPI.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12074
    - change/bcapps/11628
    - change/bcapps/10255
object_type: page
object_id: 7122
name: Expense Activity Log API
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
  controls: 33
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Page 7122 "Expense Activity Log API"

> Page 7122 "Expense Activity Log API" in ExpenseAgent (Microsoft.ExpenseAgent). Introduced in BC29, still in BC30, changed in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/APIs/ActivityLog/ExpenseActivityLogAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Expense Activity Log Entry |
| PageType | API |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | ID | `Rec.SystemId` | — |
|  | Entry Number | [Entry No.](../table/7100.md#fields) | — |
|  | Source Table ID | [Source Table ID](../table/7100.md#fields) | Specifies the table containing the source document that currently owns the activity entry. <small>from the table field</small> |
|  | Source ID | [Source Record System ID](../table/7100.md#fields) | Specifies the immutable SystemId of the source document that currently owns the activity entry. <small>from the table field</small> |
|  | Subject Table ID | [Subject Table ID](../table/7100.md#fields) | Specifies the table containing the logical subject described by the activity entry. <small>from the table field</small> |
|  | Subject ID | [Subject System ID](../table/7100.md#fields) | Specifies the stable SystemId of the logical subject described by the activity entry. <small>from the table field</small> |
|  | Document Number | [Document No.](../table/7100.md#fields) | — |
|  | Document Description | [Document Description](../table/7100.md#fields) | — |
|  | Event Type | [Event Type](../table/7100.md#fields) | Specifies the activity that occurred for the expense report. <small>from the table field</small> |
|  | Occurred At | [Occurred At](../table/7100.md#fields) | Specifies the date and time when the activity occurred. <small>from the table field</small> |
|  | Initiated By | [Initiated By](../table/7100.md#fields) | Specifies whether the activity originated from a person or the autonomous Expense Agent. <small>from the table field</small> |
|  | Actor Role | [Actor Role](../table/7100.md#fields) | Specifies the business capacity in which the actor performed the activity. <small>from the table field</small> |
|  | Actor Table ID | [Actor Table ID](../table/7100.md#fields) | Specifies the table containing the record that represents the actor. <small>from the table field</small> |
|  | Actor ID | [Actor Record System ID](../table/7100.md#fields) | Specifies the immutable SystemId of the record that represents the actor. <small>from the table field</small> |
|  | Actor Display Name | [Actor Display Name](../table/7100.md#fields) | Specifies the name of the user or agent that performed the activity. <small>from the table field</small> |
|  | Comment | [Comment](../table/7100.md#fields) | Specifies additional details recorded for the activity. <small>from the table field</small> |
|  | Amount (LCY) | [Amount (LCY)](../table/7100.md#fields) | — |
|  | Currency (LCY) | `CurrencyLCY` | — |
|  | Non-Refundable Amount (LCY) | [Non-Refundable Amount (LCY)](../table/7100.md#fields) | — |
|  | Reimbursable Amount | [Reimbursable Amount](../table/7100.md#fields) | — |
|  | Reimbursable Amount (LCY) | [Reimbursable Amount (LCY)](../table/7100.md#fields) | — |
|  | Refundable Amount | [Refundable Amount](../table/7100.md#fields) | — |
|  | Refundable Amount (LCY) | [Refundable Amount (LCY)](../table/7100.md#fields) | — |
|  | Reimbursement Currency Code | `ReimbursementCurrencyCode` | — |
|  | Reimbursement Currency Factor | [Reimbursement Currency Factor](../table/7100.md#fields) | — |
|  | Categories | [Categories](../table/7100.md#fields) | — |
|  | Attached Receipt Count | [Attached Receipt Count](../table/7100.md#fields) | — |
|  | Expense Count | [Expense Count](../table/7100.md#fields) | — |
|  | History Actor Role | [History Actor Role Filter](../table/7100.md#fields) | — |
|  | Policy Status | [Policy Status](../table/7100.md#fields) | — |
|  | Failed Policy Count | [Failed Policy Count](../table/7100.md#fields) | — |
|  | Passed Policy Count | [Passed Policy Count](../table/7100.md#fields) | — |
|  | Flagged Categories | [Flagged Categories](../table/7100.md#fields) | — |

## Procedures

1 local procedures, no public ones.

## Triggers

OnInit, OnOpenPage, OnAfterGetRecord, OnFindRecord

## Relations

- source table [Table 7100 "Expense Activity Log Entry"](../table/7100.md)

## 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 6988 "Expense API Currency Helper"](../codeunit/6988.md) (1 call: `OnAfterGetRecord → GetCurrencyCodeForAPI`)
- [Codeunit 6993 "Expense Agent API Validation"](../codeunit/6993.md) (1 call: `OnInit → VerifyAgentAccess`)

## Recent changes

- 2026-10-02 [#12074 Expense Agent: travel request expense location, per-traveler reports, activity log and submitter comment](../../changes/bcapps/12074.md) (main, BC30, feature)
- 2026-10-01 [#11628 Expense Agent: capture submission policy evaluation history](../../changes/bcapps/11628.md) (main, BC30, feature)
- 2026-08-17 [#10255 Add expense activity history foundation](../../changes/bcapps/10255.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: BC30

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: "page", object_name: "Expense Activity Log API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
