Codeunit 4586 SOA Dispatcher

Sales Order Agent, Microsoft.Agent.SalesOrderAgent

src/Apps/W1/SalesOrderAgent/app/src/Integration/SOADispatcher.Codeunit.al6 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 35, trigger

  1. 37callsRunSOAgent

RunSOAgent line 40

  1. 54callsCodeunit 4587 SOA Impl RemoveScheduledTasksIfAgentNotActive
  2. 57callsCodeunit 4400 SOA Setup CheckSOASetupStillValid
  3. 62callsCanRunTask
  4. 65callsAddTask
  5. 67callsCodeunit 4400 SOA Setup CheckSOASetupStillValid
  6. 70callsCodeunit 7785 Copilot Quota CanConsume
  7. 74runsCodeunit 4582 SOA Retrieve Emails
  8. 76callsCodeunit 8703 Feature Telemetry LogUsage
  9. 76callsCodeunit 4400 SOA Setup GetFeatureName
  10. 78callsCodeunit 8703 Feature Telemetry LogError
  11. 78callsCodeunit 4400 SOA Setup GetFeatureName
  12. 82callsCodeunit 4400 SOA Setup CheckSOASetupStillValid
  13. 85runsCodeunit 4581 SOA Send Replies
  14. 87callsCodeunit 8703 Feature Telemetry LogUsage
  15. 87callsCodeunit 4400 SOA Setup GetFeatureName
  16. 89callsCodeunit 8703 Feature Telemetry LogError
  17. 89callsCodeunit 4400 SOA Setup GetFeatureName
  18. 94callsCodeunit 4400 SOA Setup CheckSOASetupStillValid
  19. 97callsCodeunit 4587 SOA Impl ScheduleSOAgent
  20. 102callsUpdateLastSync
  21. 105callsUpdateTaskSucceeded
  22. 105callsCodeunit 4581 SOA Send Replies GetAllSentSuccessfully
  23. 108callsCodeunit 4396 SOA Email Setup RemoveProcessedEmailsOutsideLast24hrs
  24. 110callsCodeunit 4587 SOA Impl RemoveTaskLogsOlderThan24hrs

CanRunTask line 113, local

  1. 121callsCodeunit 7771 Azure OpenAI IsEnabled
  2. 122callsCodeunit 8703 Feature Telemetry LogError
  3. 122callsCodeunit 4400 SOA Setup GetFeatureName
  4. 127callsCodeunit 4321 Agent IsActive
  5. 128callsCodeunit 8703 Feature Telemetry LogError
  6. 128callsCodeunit 4400 SOA Setup GetFeatureName
  7. 133callsCodeunit 8703 Feature Telemetry LogError
  8. 133callsCodeunit 4400 SOA Setup GetFeatureName

UpdateLastSync line 140, local

  1. 144writesTable 4325 SOA Setup Modify

AddTask line 148, local

  1. 156callsCodeunit 457 Environment Information IsSaaSInfrastructure
  2. 157callsCodeunit 6300 Azure AD Mgt. GetAccessTokenAsSecretText
  3. 157callsCodeunit 9005 Url Helper GetGraphUrl
  4. 160writesTable 4594 SOA Task Insert

UpdateTaskSucceeded line 164, local

  1. 168writesTable 4594 SOA Task Modify