Codeunit 6938 "EA Agent Dispatcher"
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 13 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| TableNo | Expense Agent Setup |
Procedures
RunEAAgent(var Setup: Record "Expense Agent Setup")CalcNextRunDateTime(EASetup: Record "Expense Agent Setup"; LastRunAt: DateTime): DateTime(internal)
Plus 20 local procedures.
Triggers
OnRun
Relations
- runs on Table 6930 “Expense Agent Setup”
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 8703 “Feature Telemetry” (8 calls:
RunEAAgent → LogError,RunEAAgent → LogUsage,SendOpenReportReminders → LogError, …) - Codeunit 6940 “EA Retrieve Emails” (3 calls:
RunEAAgent → (object),RunEAAgent → GetEmailsFound,RunEAAgent → GetEmailsProcessed) - Codeunit 6941 “EA Http Client” (2 calls:
SendOpenReportReminders → SendOpenReportReminderNotification,TrySendWelcomeEmail → SendWelcomeEmailNotification) - Codeunit 8894 “Email Account” (2 calls:
ExtractAndValidateRecipients → ValidateEmailAddress,SendEmail → IsAccountRegistered) - Codeunit 457 “Environment Information” (1 call:
AddTask → IsSaaSInfrastructure) - Codeunit 6300 “Azure AD Mgt.” (1 call:
AddTask → GetAccessTokenAsSecretText) - Codeunit 6935 “EA Agent Scheduler” (1 call:
RunEAAgent → ScheduleAgent) - Codeunit 6939 “EA Email Setup” (1 call:
RunEAAgent → RemoveProcessedEmailsOutsideLast24hrs) - Codeunit 7771 “Azure OpenAI” (1 call:
CanRunTask → IsEnabled) - Codeunit 8901 “Email” (1 call:
SendEmail → Send) - Codeunit 8904 “Email Message” (1 call:
SendEmail → Create) - Codeunit 9005 “Url Helper” (1 call:
AddTask → GetGraphUrl)
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: "codeunit", object_name: "EA Agent Dispatcher"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.