Codeunit 3303 Payables Agent

Payables Agent, Microsoft.Agent.PayablesAgent

src/Apps/W1/PayablesAgent/app/PayablesAgent.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnInstallAppPerDatabase line 27, trigger

  1. 29callsRegisterCapability

GetAgentAnnotations line 42

  1. 44callsCodeunit 3313 PA Annotation GetAgentAnnotations

ShowCanCreateAgent line 80

  1. 84callsCodeunit 3307 Payables Agent Setup AllowCreateNewAgent

GetCurrentSessionsEDocument line 96

  1. 100callsIsPayablesAgentSession
  2. 102callsGetEDocumentForAgentTask

OnRegisterCopilotCapability line 124, local

  1. 126callsRegisterCapability

ClassifyDataSensitivity line 130, local

  1. 134callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  2. 135callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  3. 137callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  4. 139callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  5. 140callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal
  6. 141callsCodeunit 1751 Data Classification Eval. Data SetTableFieldsToNormal

CreateAgentTask line 145, local

  1. 158callsTable 6121 E-Document GetEDocumentService
  2. 175callsCodeunit 3307 Payables Agent Setup GetAgent
  3. 180callsTable 3303 Payables Agent Setup GetSetup
  4. 181callsCodeunit 3307 Payables Agent Setup FeatureName
  5. 182callsCodeunit 6122 E-Doc. Imp. Session Telemetry CreateSystemIdText
  6. 186callsCodeunit 3307 Payables Agent Setup IsSenderRejected
  7. 187callsCodeunit 8711 Telemetry LogMessage
  8. 191callsBuildAgentTask
  9. 194callsCodeunit 8711 Telemetry LogMessage
  10. 195callsCodeunit 3306 Payables Agent KPI InsertKPIEntry

BuildAgentTask line 198

  1. 214callsTable 3303 Payables Agent Setup GetSetup
  2. 215callsCodeunit 3307 Payables Agent Setup ShouldRequestReview
  3. 220callsCodeunit 3318 PA Trial IsActive
  4. 221callsCodeunit 3318 PA Trial IncrementTrialInvoiceCount
  5. 222callsCodeunit 3303 Payables Agent GetCustomDimensions
  6. 223callsCodeunit 3318 PA Trial GetTrialInvoiceCount
  7. 224callsCodeunit 3318 PA Trial GetTrialInvoiceLimit

SetAgentTaskTitle line 243, internal

  1. 259writesTable 2000000262 Agent Task Modify(true)

OnOpenInboundEDocumentsPage line 263, local

  1. 268callsGetCurrentSessionsEDocument

RegisterCapability line 274, internal

  1. 281callsCodeunit 457 Environment Information IsSaaSInfrastructure
  2. 284callsCodeunit 7773 Copilot Capability IsCapabilityRegistered
  3. 285callsCodeunit 7773 Copilot Capability ModifyCapability
  4. 287callsCodeunit 7773 Copilot Capability RegisterCapability

GetCustomDimensions line 290

  1. 294callsGetCategory

IsPayablesAgentSession line 324

  1. 329callsCodeunit 4312 Agent Session IsAgentSession
  2. 335callsCodeunit 4312 Agent Session GetCurrentSessionAgentTaskId

GetDefaultProfile line 339

  1. 341callsCodeunit 3307 Payables Agent Setup GetDefaultProfile

GetDefaultAccessControls line 344

  1. 346callsCodeunit 3307 Payables Agent Setup GetDefaultAccessControls