codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 6992 "Install Expense Agent Setup"

ExpenseAgent · Microsoft.ExpenseAgent

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 4 connected objects and pages

Codeunit 6978 "Upgrade Expense Agent Setup" (calls, 2 links)Upgrade Expense Agent SetupCodeunit 7773 "Copilot Capability" (calls, 2 links)Copilot CapabilityCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 7105 "Upgrade Exp. Report VAT Spec" (calls)Upgrade Exp. Report VAT Spec

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Subtype Install

Event subscriptions

  • OnCompanyInitialize subscribes to Codeunit “Company-Initialize” OnCompanyInitialize
  • OnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
  • HandleOnAfterCreatedNewCompanyByCopyCompany subscribes to Report “Copy Company” OnAfterCreatedNewCompanyByCopyCompany

Procedures

  • RegisterCapability() (internal)
  • ClearPerCompanyAgentState(TargetCompanyName: Text) (internal): Wipes per-company Expense Agent runtime state in the specified company so the agent must be re-provisioned there. The Expense Agent Setup row itself is preserved (general expense configuration such as number series, posting groups, rules and rates is still meaningful in the copied company); only the…

Triggers

OnInstallAppPerCompany, OnInstallAppPerDatabase

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.

Called by

Recent changes

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: "Install Expense Agent Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources