Codeunit 4399 SOA Annotation
src/Apps/W1/SalesOrderAgent/app/src/Integration/SOAAnnotation.Codeunit.al20 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
GetAgentAnnotations line 37, internal
- 50callsShouldAddOverProcessLimitAnnotation
- 51callsAddOverProcessLimitAnnotation
- 52callsShouldAddAccessTokenAnnotation
- 53callsAddAccessTokenAnnotation
- 55callsShouldAddAgentTaskFailureAnnotation
- 56callsAddAgentTaskFailureAnnotation
- 58callsShouldAddAgentTaskSendRepliesFailureAnnotation
- 59callsAddAgentTaskSendRepliesFailureAnnotation
ShouldAddOverProcessLimitAnnotation line 62, local
- 68callsCodeunit 4587 SOA Impl GetProcessLimitPerDay
- 69callsCodeunit 4396 SOA Email Setup GetEmailCountProcessedWithin24hrs
AddOverProcessLimitAnnotation line 73, local
- 83writesTable 2000000283 Agent Annotation Insert
- 84callsCodeunit 8703 Feature Telemetry LogUsage
- 84callsCodeunit 4400 SOA Setup GetFeatureName
- 86callsCodeunit 8703 Feature Telemetry LogError
- 86callsCodeunit 4400 SOA Setup GetFeatureName
AddAccessTokenAnnotation line 109, local
- 115writesTable 2000000283 Agent Annotation Insert
ShouldAddAgentTaskFailureAnnotation line 118, local
AddAgentTaskFailureAnnotation line 138, local
- 146writesTable 2000000283 Agent Annotation Insert
- 147callsCodeunit 8703 Feature Telemetry LogUsage
- 147callsCodeunit 4400 SOA Setup GetFeatureName
- 149callsCodeunit 8703 Feature Telemetry LogError
- 149callsCodeunit 4400 SOA Setup GetFeatureName
ShouldAddAgentTaskSendRepliesFailureAnnotation line 152, local
AddAgentTaskSendRepliesFailureAnnotation line 172, local
- 180writesTable 2000000283 Agent Annotation Insert
- 181callsCodeunit 8703 Feature Telemetry LogUsage
- 181callsCodeunit 4400 SOA Setup GetFeatureName
- 183callsCodeunit 8703 Feature Telemetry LogError
- 183callsCodeunit 4400 SOA Setup GetFeatureName
GetAgentTaskMessageAnnotations line 191, internal
- 197callsCheckReleavanceOfAgentTaskMessage
- 205callsCodeunit 4321 Agent GetDisplayName
- 208callsCodeunit 8703 Feature Telemetry LogUsage
- 208callsCodeunit 4400 SOA Setup GetFeatureName
- 209writesTable 2000000283 Agent Annotation Insert
- 210callsCodeunit 8703 Feature Telemetry LogError
- 210callsCodeunit 4400 SOA Setup GetFeatureName
CheckReleavanceOfAgentTaskMessage line 213, local
- 218callsCheckIfMessageRelevant
- 219callsCheckIfAttachmentRelevant
CheckIfAttachmentRelevant line 228, internal
ProcessAttachmentForRelevance line 258, local
- 271callsCodeunit 4421 SOA Attachment MLLM EnsureCanonicalTextContent
- 273callsHandleAttachmentExtractionFailed
- 279callsGetMaxAttachmentContentLength
- 280callsIgnoreAttachmentExceedsContentLength
- 285callsCheckIfAttachmentRelevant
- 288writesTable 2000000275 Agent Task Message Attachment Modify
- 289callsCodeunit 4590 SOA Billing LogIrrelevantAttachment
- 294callsGetMaxAttachmentContentLength
- 295callsIgnoreAttachmentExceedsContentLength
- 300callsCodeunit 4590 SOA Billing LogRelevantAttachment
IgnoreAttachmentExceedsContentLength line 304, local
- 308writesTable 2000000275 Agent Task Message Attachment Modify
- 309callsCodeunit 4590 SOA Billing LogIrrelevantAttachment
- 316callsCodeunit 8703 Feature Telemetry LogUsage
- 316callsCodeunit 4400 SOA Setup GetFeatureName
HandleAttachmentExtractionFailed line 320, local
- 324writesTable 2000000275 Agent Task Message Attachment Modify
- 325callsCodeunit 4590 SOA Billing LogIrrelevantAttachment
- 330callsCodeunit 8703 Feature Telemetry LogError
- 330callsCodeunit 4400 SOA Setup GetFeatureName
CheckIfAttachmentRelevant line 334, local
- 349callsCodeunit 7771 Azure OpenAI SetAuthorization
- 349callsCodeunit 7768 AOAI Deployments GetGPT56CeresLatest
- 353callsGetIrrelevantAttachmentPrompt
- 354callsCodeunit 8703 Feature Telemetry LogError
- 354callsCodeunit 4400 SOA Setup GetFeatureName
- 358callsCodeunit 7771 Azure OpenAI SetCopilotCapability
- 360callsCodeunit 7763 AOAI Chat Messages SetPrimarySystemMessage
- 361callsCodeunit 7763 AOAI Chat Messages AddTool
- 362callsCodeunit 7763 AOAI Chat Messages SetToolInvokePreference
- 364callsSetAOAIParameters
- 370callsCodeunit 8703 Feature Telemetry LogUsage
- 370callsCodeunit 4400 SOA Setup GetFeatureName
- 374callsCodeunit 7763 AOAI Chat Messages AddUserMessage
- 375callsCodeunit 7771 Azure OpenAI GenerateChatCompletion
- 376callsCodeunit 7770 AOAI Operation Response IsSuccess
- 377callsCodeunit 8703 Feature Telemetry LogError
- 377callsCodeunit 4400 SOA Setup GetFeatureName
- 377callsCodeunit 7770 AOAI Operation Response GetStatusCode
- 377callsCodeunit 7770 AOAI Operation Response GetError
- 380callsCodeunit 7770 AOAI Operation Response IsFunctionCall
- 381callsCodeunit 8703 Feature Telemetry LogError
- 381callsCodeunit 4400 SOA Setup GetFeatureName
- 384callsCodeunit 4302 SOA Validation Function IsIrrelevant
- 385callsCodeunit 8703 Feature Telemetry LogUsage
- 385callsCodeunit 4400 SOA Setup GetFeatureName
- 389callsCodeunit 8703 Feature Telemetry LogUsage
- 389callsCodeunit 4400 SOA Setup GetFeatureName
- 390callsCodeunit 4302 SOA Validation Function GetIrrelevantReason
CheckIfMessageRelevant line 394, local
- 409callsCodeunit 7771 Azure OpenAI SetAuthorization
- 409callsCodeunit 7768 AOAI Deployments GetGPT56CeresLatest
- 412callsGetIrrelevantMessagePrompt
- 413callsCodeunit 8703 Feature Telemetry LogError
- 413callsCodeunit 4400 SOA Setup GetFeatureName
- 417callsCodeunit 7771 Azure OpenAI SetCopilotCapability
- 419callsCodeunit 7763 AOAI Chat Messages SetPrimarySystemMessage
- 420callsCodeunit 7763 AOAI Chat Messages AddTool
- 421callsCodeunit 7763 AOAI Chat Messages SetToolInvokePreference
- 423callsSetAOAIParameters
- 435callsCodeunit 7763 AOAI Chat Messages AddUserMessage
- 438callsCodeunit 7763 AOAI Chat Messages AddAssistantMessage
- 441callsCodeunit 8703 Feature Telemetry LogUsage
- 441callsCodeunit 4400 SOA Setup GetFeatureName
- 445callsCodeunit 7771 Azure OpenAI GenerateChatCompletion
- 446callsCodeunit 7770 AOAI Operation Response IsSuccess
- 447callsCodeunit 8703 Feature Telemetry LogError
- 447callsCodeunit 4400 SOA Setup GetFeatureName
- 447callsCodeunit 7770 AOAI Operation Response GetStatusCode
- 447callsCodeunit 7770 AOAI Operation Response GetError
- 450callsCodeunit 7770 AOAI Operation Response IsFunctionCall
- 451callsCodeunit 8703 Feature Telemetry LogError
- 451callsCodeunit 4400 SOA Setup GetFeatureName
- 454callsCodeunit 4302 SOA Validation Function IsIrrelevant
- 455callsCodeunit 8703 Feature Telemetry LogUsage
- 455callsCodeunit 4400 SOA Setup GetFeatureName
- 459callsCodeunit 4302 SOA Validation Function GetIrrelevantReason
SetAOAIParameters line 463, local
- 465callsCodeunit 7763 AOAI Chat Messages SetHistoryLength
- 466callsCodeunit 7761 AOAI Chat Completion Params SetTemperature
GetIrrelevantMessagePrompt line 469, local
- 477callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
GetIrrelevantAttachmentPrompt line 484, local
- 492callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret