Codeunit 3352 "Payables Agent Metadata"
PayablesAgent · Microsoft.Agent.PayablesAgent
Across versions
- BC23-29not present
- BC30present
Neighbourhood 9 connected objects and pages
PayablesAgent · Microsoft.Agent.PayablesAgent · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Subtype | Install |
| Permissions | tabledata User = R, tabledata Agent = R, tabledata “Agent Task Message” = R |
Event subscriptions
- OnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
- ClassifyDataSensitivity subscribes to Codeunit “Data Classification Eval. Data” OnCreateEvaluationDataOnAfterClassifyTablesToNormal
Procedures
GetInitials(AgentUserId: Guid): Text[4]GetSetupPageId(AgentUserId: Guid): IntegerGetSummaryPageId(AgentUserId: Guid): IntegerGetAgentTaskMessagePageId(AgentUserId: Guid; MessageId: Guid): IntegerGetAgentAnnotations(AgentUserId: Guid; var Annotations: Record "Agent Annotation")GetDefaultInitials(): Text[4]AgentDisplayName(): Text[80](internal)AgentSummary(): Text(internal)GetFirstTimeSetupPageId(): IntegerShowCanCreateAgent(): BooleanGetCopilotCapability(): Enum "Copilot Capability"GetDefaultProfile(var TempAllProfile: Record "All Profile" temporary)GetDefaultAccessControls(var TempAccessControlBuffer: Record "Access Control Buffer" temporary)IsArchivingSupported(): BooleanRegisterCapability()(internal)PayablesAgentExistsAcrossAllCompanies(): Boolean(internal)
Triggers
OnInstallAppPerDatabase
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 3343 “PA Setup” (4 calls:
GetDefaultAccessControls → GetAgentPermissionSet,GetDefaultAccessControls → LoadStoredOrDefaults,GetDefaultProfile → GetAgentProfile, …) - Codeunit 7773 “Copilot Capability” (3 calls:
RegisterCapability → IsCapabilityRegistered,RegisterCapability → ModifyCapability,RegisterCapability → RegisterCapability) - Codeunit 4321 “Agent” (2 calls:
GetAgentAnnotations → IsActive,GetDefaultProfile → PopulateDefaultProfile) - Codeunit 1751 “Data Classification Eval. Data” (1 call:
ClassifyDataSensitivity → SetTableFieldsToNormal) - Codeunit 3330 “PA Work Item Presentation” (1 call:
GetAgentTaskMessagePageId → GetMessagePageId) - Codeunit 3350 “PA Agent Access” (1 call:
ShowCanCreateAgent → AllowCreateNewAgent) - Codeunit 457 “Environment Information” (1 call:
RegisterCapability → IsSaaSInfrastructure)
Called by
- Codeunit 3305 “Payables Agent Upgrade” (2 calls:
RegisterCapability → RegisterCapability,RegisterTrial → PayablesAgentExistsAcrossAllCompanies) - Codeunit 3321 “PA Setup Update Parameters” (2 calls:
InitializeFromStoredSetup → AgentDisplayName,InitializeFromStoredSetup → AgentSummary)
Recent changes
- 2026-12-03 #14739 Opting in for Data query tools in Agent metadata for PA (main, BC30, feature)
- 2026-11-14 #13361 Foundation for Payables Agent V2.0 (main, BC30, refactor, added)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Payables Agent Overview in Business Central — possibly related: Documents the Payables Agent autonomous AI agent that this metadata codeunit supports. (model-linked)
- Set Up Payables Agent in Business Central — possibly related: Documents Payables Agent setup and configuration that this metadata codeunit enables. (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: "Payables Agent Metadata"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.