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

Codeunit 7773 "Copilot Capability"

System Application · System.AI

Across versions

  1. BC23-24present
  2. BC251 events added
  3. BC26unchanged
  4. BC272 procedures changed, 2 procedures added
  5. BC28-30unchanged

Neighbourhood 36 connected objects and pages

Codeunit 6951 "Exp. Privacy Notice Reg." (event subscribers)Codeunit 7760 "Copilot Capability Install" (event subscribers)Codeunit 7774 "Copilot Capability Impl" (calls, 5 links)Copilot Capability ImplCodeunit 6290 "Sust. Emis. Suggestion Impl." (calls, 4 links)Sust. Emis. Suggestion Impl.Codeunit 8358 "MCP Copilot Cap. Reg." (calls, 4 links)Codeunit 3303 "Payables Agent" (calls, 3 links)Payables AgentCodeunit 4587 "SOA Impl" (calls, 3 links)Codeunit 6992 "Install Expense Agent Setup" (calls, 3 links)Install Expense Agent SetupCodeunit 7250 "Bank Rec. AI Matching Impl." (calls, 3 links)Bank Rec. AI Matching Impl.Codeunit 2014 "Entity Text AI Install" (calls, 2 links)Entity Text AI InstallCodeunit 2015 "Entity Text AI Upgrade" (calls, 2 links)Entity Text AI UpgradeCodeunit 327 "No. Series Copilot Register" (calls, 2 links)Codeunit 3305 "Payables Agent Upgrade" (calls, 2 links)Payables Agent UpgradeCodeunit 3307 "Payables Agent Setup" (calls, 2 links)Payables Agent SetupCodeunit 4350 "Custom Agent Setup" (calls, 2 links)Custom Agent SetupCodeunit 4589 "SOA Upgrade" (calls, 2 links)Codeunit 7275 "Sales Lines Suggestions Impl." (calls, 2 links)Sales Lines Suggestions Impl.Codeunit 7331 "Create Product Info. Install" (calls, 2 links)Create Product Info. InstallCodeunit 7332 "Create Product Info. Upgrade" (calls, 2 links)Create Product Info. UpgradeCodeunit 7345 "Create Product Info. Utility" (calls, 2 links)Create Product Info. UtilityCodeunit 7760 "Copilot Capability Install" (calls, 2 links)Codeunit 7776 "Copilot Capability Upgrade" (calls, 2 links)Table 7775 "Copilot Settings" (calls, 2 links)Codeunit 2011 "Entity Text AOAI Settings" (calls)Codeunit 324 "No. Series Copilot Impl." (calls)Codeunit 8359 "MCP Notifications" (calls)Page 7770 "Copilot Cap. Early Preview" (calls)Page 7773 "Copilot Capabilities Preview" (calls)Page 7774 "Copilot Capabilities GA" (calls)Page extension 7253 "BankAccReconciliationExt" (calls)Page extension 7254 "BankAccReconciliationListExt" (calls)Page extension 7277 "Sales Invoice Sub Form Ext" (calls)Page extension 7278 "Sales Order Sub Form Ext" (calls)Page extension 7279 "Sales Quote Sub Form Ext" (calls)https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-define-register (Learn pages)https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-build-capability-in-al (Learn pages)

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.

System Application · System.AI · BC23-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Access Public

Events published

Procedures

  • RegisterCapability(CopilotCapability: Enum "Copilot Capability"; LearnMoreUrl: Text[2048]) Δ BC27 + BC27: Register a capability.
  • RegisterCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; LearnMoreUrl: Text[2048]) Δ BC27 + BC27 (obsolete 27.0: Using RegisterCapability now requires additional input parameter, BillingType. Use the other overload for RegisterCapability instead.): Register a capability.
  • RegisterCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; CopilotBillingType: Enum "Copilot Billing Type"; LearnMoreUrl: Text[2048]) Δ BC27 + BC27: Register a capability.
  • ModifyCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; LearnMoreUrl: Text[2048]) Δ BC27 + BC27 (obsolete 27.0: Using ModifyCapability now requires additional input parameter, BillingType. Use the other overload for ModifyCapability instead.): Modify an existing capability.
  • ModifyCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; CopilotBillingType: Enum "Copilot Billing Type"; LearnMoreUrl: Text[2048]) Δ BC27 + BC27: Modify an existing capability.
  • UnregisterCapability(CopilotCapability: Enum "Copilot Capability"): Unregister a capability.
  • IsCapabilityRegistered(CopilotCapability: Enum "Copilot Capability"): Boolean: Check if your capability has been registered.
  • IsCapabilityRegistered(CopilotCapability: Enum "Copilot Capability"; AppId: Guid): Boolean: Check if a specific capability has been registered.
  • IsCapabilityActive(CopilotCapability: Enum "Copilot Capability"): Boolean: Check if your capability is active.
  • IsCapabilityActive(CopilotCapability: Enum "Copilot Capability"; AppId: Guid): Boolean: Check if the capability is active.

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

Documented on Microsoft Learn

Heads up (community)

Warnings from posts and videos that name this object or one of its events; each says what it applies to.

Deprecations

  • procedure ModifyCapability: Pending 27.0 (#if not CLEAN27), “Using ModifyCapability now requires additional input parameter, BillingType. Use the other overload for ModifyCapability instead.”
  • procedure RegisterCapability: Pending 27.0 (#if not CLEAN27), “Using RegisterCapability now requires additional input parameter, BillingType. Use the other overload for RegisterCapability instead.”

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: "codeunit", object_name: "Copilot Capability"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources