Codeunit 6941 "EA Http Client"
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-28not present
- BC29present
- BC30changed
Neighbourhood 11 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
SubmitExpenseWithAttachments(ConversationId: Text; Context: Text; OnBehalfUser: Text; var TempAttachment: Record "EA Email Attachment" temporary): BooleanSendOpenReportReminderNotification(OnBehalfUser: Text): BooleanSendReimbursementNotification(OnBehalfUser: Text; PostedExpenseReportSystemId: Guid): BooleanSendWelcomeEmailNotification(OnBehalfUser: Text; CorrelationId: Guid): BooleanIsTenantOnCanaryAllowlist(): Boolean(internal)RegisterErpConfiguration(UseCanaryEndpoint: Boolean): BooleanUnregisterErpConfiguration(UseCanaryEndpoint: Boolean): Boolean
Plus 19 local procedures.
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” (13 calls:
GetExpenseAgentBaseUrl → LogError,SendErpConfigRequest → LogError,SendErpConfigRequest → LogUsage, …) - Codeunit 457 “Environment Information” (5 calls:
AddAuthHeaders → IsSaaS,BuildErpConfigJson → GetEnvironmentName,BuildErpConfigJson → IsSaaS, …) - Codeunit 2200 “Azure Key Vault” (1 call:
GetProductionBaseUrl → GetAzureKeyVaultSecret) - Codeunit 433 “Azure AD Tenant” (1 call:
BuildErpConfigJson → GetAadTenantId) - Codeunit 501 “OAuth2” (1 call:
TryGetAccessToken → AcquireOnBehalfOfToken) - Codeunit 6300 “Azure AD Mgt.” (1 call:
TryGetAccessToken → GetAccessTokenAsSecretText) - Codeunit 6922 “Expense Agent Entra App Mgt.” (1 call:
TryGetAccessToken → GetAadAppId)
Called by
- Page 6991 “Expense Agent Setup Wizard” (3 calls:
OnOpenPage → IsTenantOnCanaryAllowlist,RegisterErpConfiguration → RegisterErpConfiguration,UnregisterErpConfiguration → UnregisterErpConfiguration) - Codeunit 6938 “EA Agent Dispatcher” (2 calls:
SendOpenReportReminders → SendOpenReportReminderNotification,TrySendWelcomeEmail → SendWelcomeEmailNotification) - Codeunit 6940 “EA Retrieve Emails” (1 call:
AddEmailToNewAgentTask → SubmitExpenseWithAttachments) - Codeunit 6987 “Expense Report-Post” (1 call:
SendReimbursementNotification → SendReimbursementNotification)
Recent changes
- 2026-09-29 #11993 Enable HTTP requests before Expense Agent setup (main, BC30, fix)
- 2026-09-18 #11290 [Bug 640454] Scope Expense Agent Entra permissions by company (main, BC30, fix)
- 2026-09-17 #11541 Clarify Expense Agent and expense management setup (main, BC30, feature)
- 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 Http Client"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.