Codeunit 3347 "PA Draft Based Test Fixtures"
PayablesAgent · Microsoft.Agent.PayablesAgent
Across versions
- BC23-29not present
- BC30present
Neighbourhood 4 connected objects and pages
PayablesAgent · Microsoft.Agent.PayablesAgent · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
DeleteAllEDocumentDataForEvaluation()(internal): Deletes every E-Document and all E-Doc. Vendor Assign. History in the test company, including records unrelated to Payables Agent. Use only for company-wide evaluation cleanup.BuildProposedPurchaseInvoice(WorkItem: Codeunit "PA Work Item"; var PurchaseInvoice: JsonObject; var Errors: JsonArray): Boolean(internal)GetWorkItemInfotipSources(WorkItemId: Guid; var Sources: JsonArray)(internal)SelectVendor(AgentTaskId: BigInteger; VendorName: Text; var ErrorText: Text): Boolean(internal)SelectAccount(AgentTaskId: BigInteger; AccountCode: Text; var ErrorText: Text): Boolean(internal)CreateMatchedDraftForTest(VendorNo: Code[20]; PurchaseLineSystemId: Guid): Guid(internal)FinalizeDraftMatchesForTest(WorkItemId: Guid)(internal)
Plus 8 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 3332 “PA Draft Based Work Item” (2 calls:
GetEDocument → GetId,GetEDocument → LoadForAgentTask) - Codeunit 3338 “PA Draft Based Setup Store” (1 call:
CreateMatchedDraftForTest → GetOrCreateService) - Codeunit 3341 “PA Work Item” (1 call:
BuildProposedPurchaseInvoice → GetId)
Called by
- Codeunit 3326 “PA Test Fixtures” (5 calls:
DeleteAllTaskAndEDocumentDataForEvaluation → DeleteAllEDocumentDataForEvaluation,GetTaskDiagnosticEvidence → BuildProposedPurchaseInvoice,GetWorkItemInfotipSources → GetWorkItemInfotipSources, …)
Recent changes
- 2026-11-23 #14327 Expose Payables Agent infotip sources through test fixtures (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.
- Write agent tests — possibly related: Provides test fixtures for agent testing capabilities (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 Test Fixtures"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.