Codeunit 3349 "PA Agent Instructions"
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 |
Procedures
SetAgentInstructions(AgentUserSecurityId: Guid)(internal)ApplyAgentInstructions(AgentUserSecurityId: Guid): Text[64](internal)ResolveResource(): Text(internal)ResolveResource(AgentDrivenLineMatching: Boolean): Text(internal)IsAgentDrivenLineMatchingEnabled(): Boolean(internal)EnsureAgentInstructionsMatchConfiguration(AgentUserSecurityId: Guid)(internal)TryEnsureAgentInstructionsMatchConfiguration(AgentUserSecurityId: Guid)(internal)GetInstructionsConfigHash(): Text(internal)
Plus 2 local procedures.
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” (3 calls:
EnsureAgentInstructionsMatchConfiguration → GetAppliedInstrConfigHash,EnsureAgentInstructionsMatchConfiguration → LoadStoredOrDefaults,SetAgentInstructions → SaveAppliedInstrConfigHash) - Codeunit 3325 “PA Telemetry” (2 calls:
ApplyAgentInstructions → LogSecurityPromptUnavailable,EnsureAgentInstructionsMatchConfiguration → LogInstructionsReapplied) - Codeunit 1266 “Cryptography Management” (1 call:
HashInstructions → GenerateHash) - Codeunit 2200 “Azure Key Vault” (1 call:
ApplyAgentInstructions → GetAzureKeyVaultSecret) - Codeunit 4321 “Agent” (1 call:
ApplyAgentInstructions → SetInstructions) - Codeunit 8347 “Feature Configuration” (1 call:
IsAgentDrivenLineMatchingEnabled → GetConfiguration)
Called by
- Codeunit 3305 “Payables Agent Upgrade” (1 call:
AlwaysUpdateAgentInformationOnUpgrade → SetAgentInstructions) - Codeunit 3344 “PA Setup Update” (1 call:
ConfigureAgent → ApplyAgentInstructions) - Codeunit 3345 “PA Work Item Intake” (1 call:
Admit → EnsureAgentInstructionsMatchConfiguration)
Recent changes
- 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.
- Instruction keywords for an agent (preview) — possibly related: Implements agent instruction keywords to guide Payables Agent behavior (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 Agent Instructions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.