Codeunit 4421 "SOA Attachment MLLM"
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 10 connected objects and pages
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Agent Task File” = r, tabledata “Agent Task Message Attachment” = rM |
Procedures
EnsureCanonicalTextContent(var AgentTaskMessageAttachment: Record "Agent Task Message Attachment"; var CanonicalContent: Text; var FailureReason: Text): Boolean(internal)
Plus 11 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 7761 “AOAI Chat Completion Params” (3 calls:
TryExtractAttachmentContent → SetJsonMode,TryExtractAttachmentContent → SetMaxTokens,TryExtractAttachmentContent → SetTemperature) - Codeunit 7770 “AOAI Operation Response” (3 calls:
TryExtractAttachmentContent → GetResult,TryExtractAttachmentContent → GetStatusCode,TryExtractAttachmentContent → IsSuccess) - Codeunit 7771 “Azure OpenAI” (3 calls:
TryExtractAttachmentContent → GenerateChatCompletion,TryExtractAttachmentContent → SetAuthorization,TryExtractAttachmentContent → SetCopilotCapability) - Codeunit 7763 “AOAI Chat Messages” (2 calls:
TryExtractAttachmentContent → AddUserMessage,TryExtractAttachmentContent → SetPrimarySystemMessage) - Codeunit 7783 “AOAI User Message” (2 calls:
TryExtractAttachmentContent → AddFilePart,TryExtractAttachmentContent → AddTextPart) - Codeunit 2200 “Azure Key Vault” (1 call:
TryExtractAttachmentContent → GetAzureKeyVaultSecret) - Codeunit 4110 “Base64 Convert” (1 call:
TryExtractAttachmentContent → ToBase64) - Codeunit 4400 “SOA Setup” (1 call:
IsImageAttachment → IsImageAttachmentContentType) - Codeunit 7768 “AOAI Deployments” (1 call:
TryExtractAttachmentContent → GetGPT56CeresPreview)
Called by
- Codeunit 4399 “SOA Annotation” (1 call:
ProcessAttachmentForRelevance → EnsureCanonicalTextContent)
Recent changes
- 2026-09-23 #11375 Obsolete GPT-5.5 chat and add GPT-5.6 Ceres deployments (main, BC30, obsoletion)
- 2026-08-27 #10665 [SOA] Skip content extraction for image attachments (main, BC30, fix)
- 2026-08-17 #10287 Move SOA item search and attachment extraction to GPT-5.5 deployments (main, BC30, other)
- 2026-08-15 #9910 [SOA] Move attachment processing to direct model reading (main, BC30, feature, added)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Process sales quotes and orders with Sales Order Agent — possibly related: Sales Order Agent processes customer requests; this codeunit handles attachments within that process. (model-linked)
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 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 Attachment MLLM"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.