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

Codeunit 3303 "Payables Agent"

PayablesAgent · Microsoft.Agent.PayablesAgent

Across versions

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

Neighbourhood 18 connected objects and pages

Codeunit 3307 "Payables Agent Setup" (calls, 7 links)Payables Agent SetupCodeunit 3318 "PA Trial" (calls, 6 links)PA TrialCodeunit 3311 "PA Billing" (calls, 5 links)Codeunit 3316 "PA Events" (calls, 3 links)PA EventsCodeunit 7773 "Copilot Capability" (calls, 3 links)Copilot CapabilityCodeunit 3305 "Payables Agent Upgrade" (calls, 2 links)Payables Agent UpgradeCodeunit 4312 "Agent Session" (calls, 2 links)Agent SessionPage extension 3309 "PA Purchase Invoice List" (calls, 2 links)Codeunit 1751 "Data Classification Eval. Data" (calls)Data Classification Eval. DataCodeunit 3306 "Payables Agent KPI" (calls)Payables Agent KPICodeunit 3308 "PA Open Current E-Document" (calls)PA Open Current E-DocumentCodeunit 3313 "PA Annotation" (calls)PA AnnotationCodeunit 3315 "PA Session Events" (calls)PA Session EventsCodeunit 4315 "Agent Task Builder" (calls)Agent Task BuilderCodeunit 4316 "Agent Task Message Builder" (calls)Agent Task Message BuilderCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 8711 "Telemetry" (calls)Page 3304 "Payables Agent Setup" (calls)

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.

PayablesAgent · Microsoft.Agent.PayablesAgent · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Subtype Install
Permissions tabledata “Payables Agent Setup” = R, 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
  • CreateAgentTask subscribes to Codeunit “E-Doc. Import” OnAfterProcessIncomingEDocument
  • OnOpenInboundEDocumentsPage subscribes to Page “Inbound E-Documents” OnOpenPageEvent

Procedures

  • GetSetupPageId(AgentUserId: Guid): Integer
  • GetSummaryPageId(AgentUserId: Guid): Integer
  • GetAgentAnnotations(AgentUserId: Guid; var Annotations: Record "Agent Annotation")
  • GetAgentTaskMessagePageId(AgentUserId: Guid; MessageId: Guid): Integer
  • GetDefaultInitials(): Text[4]
  • GetInitials(AgentUserId: Guid): Text[4]
  • GetFirstTimeSetupPageId(): Integer
  • ShowCanCreateAgent(): Boolean
  • GetCopilotCapability(): Enum "Copilot Capability"
  • GetCurrentSessionsEDocument(): Record "E-Document": If the current session is a payables agent session, this procedure will return the e-document being processed by the agent.
  • GetEDocumentForAgentTask(AgentTaskId: BigInteger): Record "E-Document": Given a payables agent task id, it returns the e-document associated with the task.
  • BuildAgentTask(EDocument: Record "E-Document"; Agent: Record Agent)
  • SetAgentTaskTitle(AgentTaskID: BigInteger; InvoiceNo: Text[50]; VendorName: Text[100]) (internal)
  • RegisterCapability() (internal)
  • GetCustomDimensions(): Dictionary of [Text, Text]
  • PayablesAgentExistsAcrossAllCompanies(): Boolean (internal): Checks whether a Payables Agent exists in any company in the current environment.
  • IsPayablesAgentSession(var SessionTaskID: BigInteger): Boolean
  • GetDefaultProfile(var TempAllProfile: Record "All Profile" temporary)
  • GetDefaultAccessControls(var TempAccessControlBuffer: Record "Access Control Buffer" temporary)

Plus 1 local procedures.

Triggers

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

Evidence 1 sources