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

Codeunit 3341 "PA Work Item"

PayablesAgent · Microsoft.Agent.PayablesAgent

Across versions

  1. BC23-29not present
  2. BC30present

Neighbourhood 27 connected objects and pages

Codeunit 3330 "PA Work Item Presentation" (calls, 30 links)PA Work Item PresentationCodeunit 3332 "PA Draft Based Work Item" (calls, 24 links)PA Draft Based Work ItemCodeunit 3326 "PA Test Fixtures" (calls, 18 links)PA Test FixturesCodeunit 3345 "PA Work Item Intake" (calls, 12 links)PA Work Item IntakePage 3305 "PA Agent Email Task" (calls, 8 links)Codeunit 3313 "PA Annotation" (calls, 5 links)PA AnnotationCodeunit 3335 "PA Agent Experience" (calls, 5 links)PA Agent ExperienceCodeunit 3342 "PA Work Item Collection" (calls, 5 links)PA Work Item CollectionCodeunit 8904 "Email Message" (calls, 4 links)Email MessagePage 3333 "Payables Agent Work Items" (calls, 4 links)Codeunit 3325 "PA Telemetry" (calls, 3 links)PA TelemetryCodeunit 3336 "PA PDF Text Extraction" (calls, 3 links)PA PDF Text ExtractionCodeunit 3351 "PA Known Senders" (calls, 3 links)PA Known SendersPage 3312 "PA Agent Upload Task" (calls, 3 links)Page 3338 "PA Email Review" (calls, 3 links)PA Email ReviewTable 3308 "PA Known Sender" (calls, 3 links)PA Known SenderCodeunit 3308 "PA Open Current E-Document" (calls, 2 links)PA Open Current E-DocumentCodeunit 3311 "PA Billing" (calls, 2 links)Codeunit 3312 "PA Draft Based Subscribers" (calls, 2 links)Codeunit 3317 "Payables Agent OCV" (calls, 2 links)Codeunit 3350 "PA Agent Access" (calls, 2 links)Page 3316 "PA Work Item Pdf Preview" (calls, 2 links)Page 3334 "PA Register Outcome" (calls, 2 links)Codeunit 3331 "PA Work Item Posting" (calls)Codeunit 3339 "PA V1V2 Flag" (calls)Codeunit 3340 "PA Purchase Outcomes" (calls)Codeunit 3347 "PA Draft Based Test Fixtures" (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 · BC30 · source at f53bb0f1 · facts from BC30

Properties

Property Value
Access Internal
Permissions tabledata Agent = R, tabledata “Agent Task” = R, tabledata “Email Inbox” = R

Procedures

  • Load(WorkItemId: Guid): Boolean (internal)
  • LoadByAgentTaskId(AgentTaskId: BigInteger): Boolean (internal)
  • LoadCurrentSession(): Boolean (internal)
  • Refresh() (internal)
  • GetId(): Guid (internal)
  • GetAdmissionStatus(): Enum "PA Work Item Admission Status" (internal)
  • IsAccepted(): Boolean (internal)
  • HasAgentTask(): Boolean (internal)
  • GetAgentTaskId(): BigInteger (internal)
  • GetAgentTaskExternalId(): Text[2048] (internal)
  • GetTitle(): Text[150] (internal)
  • GetAgentTaskStatus(): Enum "Agent Task Status" (internal)
  • GetState(): Enum "PA Work Item State" (internal)
  • GetRejectionReason(): Text (internal)
  • GetSourceType(): Enum "PA Source Type" (internal)
  • GetFileName(): Text (internal)
  • HasPdf(): Boolean (internal)
  • GetSourcePdf(var TempBlob: Codeunit "Temp Blob"; var FileName: Text): Boolean (internal)
  • GetEmailFrom(): Text (internal)
  • GetSenderAddress(): Text[250] (internal)
  • GetSenderName(): Text (internal)
  • GetEmailSubject(): Text (internal)
  • GetEmailExternalId(): Text (internal)
  • GetEmailReceivedAt(): DateTime (internal)
  • GetSourceEmailBody(): Text (internal)
  • TryGetEmailHeader(HeaderName: Text; var HeaderValue: Text): Boolean (internal)
  • GetCreatedAt(): DateTime (internal)
  • GetUpdatedAt(): DateTime (internal)
  • CanExtractText(): Boolean (internal)
  • CanRegisterOutcome(): Boolean (internal)
  • GetExtractedText(): Text (internal)
  • GetOutcome(): RecordId (internal)
  • IsResultRecord(Candidate: RecordId): Boolean (internal)
  • CreateFromPdf(FileName: Text; PdfInStream: InStream): Boolean (internal)
  • AssociateAgentTask(AgentTaskId: BigInteger) (internal)
  • MarkRejected(Reason: Text) (internal)
  • SetExtractedText(NewText: Text) (internal)
  • RegisterOutcome(OutcomeId: RecordId) (internal)
  • ReplaceOutcomeReferences(PreviousOutcome: RecordId; NewOutcome: RecordId) (internal)

Plus 6 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.

Called by

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

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

Evidence 1 sources