Codeunit 4398 "SOA Task Message"
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
SalesOrderAgent · Microsoft.Agent.SalesOrderAgent · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Email Inbox” = r |
Procedures
GetPreviousText(AgentTaskMessage: Record "Agent Task Message"): Text(internal)GetSentMessageDate(AgentTaskMessage: Record "Agent Task Message"): DateTime(internal)GetSentMessageToAddress(var OutputAgentTaskMessage: Record "Agent Task Message"; var ToAddress: Text): Boolean(internal)GetMessageCcRecipients(AgentTaskMessage: Record "Agent Task Message"): Text(internal)MessageRequiresReview(SOASetup: Record "SOA Setup"; SenderAddress: Text; IsFirstMessageInTask: Boolean): Boolean(internal)
Plus 2 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 4305 “SOA Filters Impl.” (3 calls:
GetSentMessageToAddress → FindContactByEmail,GetSentMessageToAddress → IsContactOverrideTrusted,MessageRequiresReview → ContactExistsByEmail) - Codeunit 8904 “Email Message” (2 calls:
GetMessageCcRecipients → Get,GetMessageCcRecipients → GetRecipients) - Codeunit 4307 “Agent Message” (1 call:
GetPreviousMessageText → GetText) - Codeunit 4419 “SOA Send Reply” (1 call:
GetMessageCcRecipients → TryGetMappedReplyCcRecipients)
Called by
- Page 4404 “SOA Email Message” (3 calls:
UpdateEmailFields → GetMessageCcRecipients,UpdateEmailFields → GetPreviousText,UpdateEmailFields → GetSentMessageToAddress) - Codeunit 4582 “SOA Retrieve Emails” (2 calls:
AddEmailToExistingAgentTask → MessageRequiresReview,AddEmailToNewAgentTask → MessageRequiresReview) - Codeunit 4415 “SOA Create Task Impl” (1 call:
CreateTask → MessageRequiresReview)
Recent changes
- 2026-09-22 #10247 [SOA] Show Cc recipients on email messages (main, BC30, feature)
- 2026-08-30 #10567 SOA : Create Task from TaskPane respects review configuration for known senders (main, BC30, fix)
- 2026-08-13 #10036 [SOA]: Bugbash for releases 28.x - Contact unable to find due to Qasim map to Megan, different names (main, BC30, fix)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- FAQ for Sales Order Agent — possibly related: Describes Sales Order Agent functionality including email processing and order creation automation. (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 Task Message"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.