Codeunit 3329 "PA Draft Based Copilot Caller"
PayablesAgent · Microsoft.Agent.PayablesAgent
Across versions
- BC23-29not present
- BC30present
Neighbourhood 2 connected objects and pages
PayablesAgent · Microsoft.Agent.PayablesAgent · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Event subscriptions
- IsPayablesAgentCapabilityActive subscribes to Codeunit “E-Doc. AI Tool Processor” OnIsCopilotCapabilityActive
- GenerateChatCompletionUnderPayablesAgent subscribes to Codeunit “E-Doc. AI Tool Processor” OnGenerateChatCompletion
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 7771 “Azure OpenAI” (3 calls:
GenerateChatCompletionUnderPayablesAgent → GenerateChatCompletion,GenerateChatCompletionUnderPayablesAgent → SetAuthorization,GenerateChatCompletionUnderPayablesAgent → SetCopilotCapability) - Codeunit 7773 “Copilot Capability” (1 call:
IsPayablesAgentCapabilityActive → IsCapabilityActive)
Recent changes
- 2026-11-25 #14491 Emit the E-Document LLM calls under the Payables Agent copilot capability (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.
- Manage consumption-based billing — possibly related: Copilot caller consumes Copilot credits for AI-powered agent operations in Payables Agent. (model-linked)
- Match Purchase Invoice Drafts to Purchase Orders — possibly related: Draft-based Copilot caller performs AI analysis to match purchase invoices to purchase orders and receipts. (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: "PA Draft Based Copilot Caller"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.