Codeunit 3339 "PA V1V2 Flag"
PayablesAgent · Microsoft.Agent.PayablesAgent
Across versions
- BC23-29not present
- BC30present
Neighbourhood 6 connected objects and pages
PayablesAgent · Microsoft.Agent.PayablesAgent · BC30 · source at f53bb0f1 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Payables Agent Setup” = R |
Procedures
IsV2Active(): Boolean(internal)CheckV2PreviewSelectable()(internal)GetVersion(WorkItemId: Guid): Integer(internal)
Plus 1 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” (1 call:
GetVersion → Load)
Called by
- Codeunit 3326 “PA Test Fixtures” (5 calls:
GetTaskDiagnosticEvidence → GetVersion,GetWorkItemInfotipSources → GetVersion,PrepareEvaluationVersion → IsV2Active, …) - Codeunit 3343 “PA Setup” (5 calls:
LoadSetup → IsV2Active,PrepareForApply → IsV2Active,ResetProposal → IsV2Active, …) - Codeunit 3312 “PA Draft Based Subscribers” (4 calls:
ImportStepOfEDocumentCompleted → IsV2Active,OnGetOutlookCategoryDescription → IsV2Active,RecordKnownSenderOnAgentProcessingStep → IsV2Active, …) - Codeunit 3325 “PA Telemetry” (1 call:
EnsureSetupAndBuildWorkItemDimensions → GetVersion) - Codeunit 3341 “PA Work Item” (1 call:
CreateFromPdf → IsV2Active)
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.
- Payables Agent Overview in Business Central — possibly related: Version flag manages feature behavior and processing logic for Payables Agent operations (model-linked)
Deprecations
- procedure CheckV2PreviewSelectable: guarded (#if not CLEAN30)
- procedure IsV2PreviewSelected: guarded (#if not CLEAN30)
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 V1V2 Flag"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.