Codeunit 6913 "Expense Agent Quota Impl."
ExpenseAgent · Microsoft.ExpenseAgent
Across versions
- BC23-29not present
- BC30present
Neighbourhood 2 connected objects and pages
ExpenseAgent · Microsoft.ExpenseAgent · BC30 · source at d2abc1d2 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
IsTrialStarted(): BooleanGetRemainingTrialQuota(): IntegerTrialQuotaAvailable(): BooleanCanConsumePaidQuota(): BooleanIsConsumptionLogged(UniqueId: Text[1024]): BooleanReportTrialConsumption(ConsumptionId: Guid; Quota: Integer)LogPaidConsumption(Usage: Integer; CopilotQuotaUsageType: Enum "Copilot Quota Usage Type"; ActionsSummary: Text[1024]; ActionsDescription: Text; UniqueId: Text[1024])
Calls
From the extracted call graph of BC30 (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 7755 “Copilot Feature Trial” (4 calls:
GetRemainingTrialQuota → GetQuotaRemaining,IsTrialStarted → IsTrialStarted,ReportTrialConsumption → ReportNonRecurringFeatureTrialQuota, …) - Codeunit 7785 “Copilot Quota” (3 calls:
CanConsumePaidQuota → CanConsume,IsConsumptionLogged → IsAgentUserAIConsumptionLogged,LogPaidConsumption → LogAgentUserAIConsumption)
Implements
Recent changes
- 2026-11-23 #14405 [Expense Agent] Renumber codeunits that collide with deprecated country apps (main, BC30, fix)
- 2026-10-26 #12539 Add Expense Agent consumption V2 and trial support (main, BC30, feature, added)
Countries that replace it
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Set Up Expense Agent in Business Central — possibly related: Quota handling is part of Expense Agent setup and configuration process. (model-linked)
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 BC30 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: "Expense Agent Quota Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.