Codeunit 4402 "SOA Output Message Setup"
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 14 connected objects and pages
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Agent Task Message” = rM |
Procedures
CheckSignature(SignatureAsTxt: Text)(internal): Verifies the entered signature for correctness by checking for harmful content, grammatical errors, and missing elements. Harmful content is blocked, while other issues prompt the user for confirmation before proceeding.PrepareOutputMessage(AgentTaskMessage: Record "Agent Task Message")(internal): Appends the custom signature to the email body. Called by platform.
Plus 14 local procedures.
Calls
From the extracted call graph of BC29 (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 7763 “AOAI Chat Messages” (10 calls:
AddSignatureToMessageBody → AddTool,AddSignatureToMessageBody → AddUserMessage,AddSignatureToMessageBody → SetPrimarySystemMessage, …) - Codeunit 7770 “AOAI Operation Response” (6 calls:
AddSignatureToMessageBody → GetFunctionResponses,AddSignatureToMessageBody → IsFunctionCall,AddSignatureToMessageBody → IsSuccess, …) - Codeunit 7771 “Azure OpenAI” (6 calls:
AddSignatureToMessageBody → GenerateChatCompletion,AddSignatureToMessageBody → SetAuthorization,AddSignatureToMessageBody → SetCopilotCapability, …) - Codeunit 7761 “AOAI Chat Completion Params” (4 calls:
AddSignatureToMessageBody → SetMaxTokens,AddSignatureToMessageBody → SetTemperature,CheckMailTemplate → SetMaxTokens, …) - Codeunit 4407 “SOA Email Template Validation” (3 calls:
CheckMailTemplate → Execute,CheckMailTemplate → GetInvalidReason,CheckMailTemplate → GetIsHarmful) - Codeunit 4400 “SOA Setup” (2 calls:
GetSignatureText → GetDefaultEmailSignatureAsTxt,LogTelemetryError → GetFeatureName) - Codeunit 4598 “SOA Instructions” (2 calls:
GetAddSignatureSystemInstructions → GetOutputMessageSignatureUpdateSystemPrompt,GetMailTemplateCheckSystemInstructions → GetMailTemplateCheckSystemPrompt) - Codeunit 7758 “AOAI Function Response” (2 calls:
AddSignatureToMessageBody → GetArguments,CheckMailTemplate → GetArguments) - Codeunit 7768 “AOAI Deployments” (2 calls:
AddSignatureToMessageBody → GetGPT41Latest,CheckMailTemplate → GetGPT41Latest) - Codeunit 4403 “SOA Output Message Validation” (1 call:
AddSignatureToMessageBody → Execute) - Codeunit 4590 “SOA Billing” (1 call:
PrepareOutputMessage → LogEmailGenerated) - Codeunit 8703 “Feature Telemetry” (1 call:
LogTelemetryError → LogError)
Called by
- Codeunit 4309 “SOA Agent Task Execution” (1 call:
AnalyzeAgentTaskMessage → PrepareOutputMessage) - Page 4407 “SOA Email Template” (1 call:
SetNewEmailTemplateAsTxt → CheckSignature)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 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: "SOA Output Message Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.