Codeunit 3330 "PA Work Item Presentation"
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 |
| Permissions | tabledata “Agent Task” = R, tabledata “Agent Task Message” = R |
Procedures
LoadAllRows(var TempRows: Record "PA Work Item List Row" temporary)(internal)LoadRowsByState(State: Enum "PA Work Item State"; var TempRows: Record "PA Work Item List Row" temporary)(internal)PopulateRow(var TempRow: Record "PA Work Item List Row" temporary; WorkItem: Codeunit "PA Work Item")(internal)DrillDownByState(State: Enum "PA Work Item State")(internal)GetMessagePageId(MessageId: Guid): Integer(internal)OpenSource(WorkItem: Codeunit "PA Work Item")(internal)OpenSourceEmail(WorkItem: Codeunit "PA Work Item")(internal)OpenSourcePdf(WorkItem: Codeunit "PA Work Item")(internal)ViewSourcePdf(WorkItem: Codeunit "PA Work Item")(internal)DownloadSourcePdf(WorkItem: Codeunit "PA Work Item")(internal)GetEmailWebLink(WorkItem: Codeunit "PA Work Item"): Text(internal)OpenAgentTask(AgentTaskId: BigInteger)(internal)OpenOutcome(WorkItem: Codeunit "PA Work Item")(internal)
Plus 5 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 3341 “PA Work Item” (30 calls:
DownloadSourcePdf → GetSourcePdf,GetEmailWebLink → GetEmailExternalId,GetMessagePageId → GetSourceType, …) - Codeunit 3342 “PA Work Item Collection” (3 calls:
InsertCollectionRows → Next,LoadAllRows → OpenAll,LoadRowsByState → OpenByState) - Codeunit 4100 “Temp Blob” (2 calls:
DownloadSourcePdf → CreateInStream,ViewSourcePdf → CreateInStream) - Codeunit 3340 “PA Purchase Outcomes” (1 call:
PopulateDescriptions → TryGetFacts) - Codeunit 4303 “Agent Task” (1 call:
OpenAgentTask → OpenAgentTaskLogEntries) - Codeunit 700 “Page Management” (1 call:
OpenOutcome → PageRun)
Called by
- Page 3333 “Payables Agent Work Items” (4 calls:
OnAfterGetCurrRecord → GetEmailWebLink,RebuildRows → LoadAllRows,RebuildRows → LoadRowsByState, …) - Codeunit 3352 “Payables Agent Metadata” (1 call:
GetAgentTaskMessagePageId → GetMessagePageId) - Page 3338 “PA Email Review” (1 call:
SetWorkItem → PopulateRow)
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.
- Supervise Agent Activities in Business Central — possibly related: Work item presentation displays Payables Agent tasks requiring supervisor review and approval in Business Central. (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 Work Item Presentation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.