{"title":"Codeunit 4398 SOA Task Message, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/4398-soa-task-message/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-07","object":{"type":"codeunit","id":4398,"name":"SOA Task Message","app":"Sales Order Agent","url":"https://jonas-paprotka.de/ref/codeunit/4398-soa-task-message/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/4398-soa-task-message/source/","path":"src/Apps/W1/SalesOrderAgent/app/src/Integration/SOATaskMessage.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:4307":{"name":"Agent Message","url":"https://jonas-paprotka.de/ref/codeunit/4307-agent-message/"},"codeunit:4305":{"name":"SOA Filters Impl.","url":"https://jonas-paprotka.de/ref/codeunit/4305-soa-filters-impl/"},"codeunit:4419":{"name":"SOA Send Reply","url":"https://jonas-paprotka.de/ref/codeunit/4419-soa-send-reply/"},"codeunit:8904":{"name":"Email Message","url":"https://jonas-paprotka.de/ref/codeunit/8904-email-message/"}},"procs":[{"name":"GetPreviousText","line":26,"kind":"procedure","access":"internal","params":1,"steps":[[41,"call","GetPreviousMessageText",1],[44,"call","GetPreviousMessageText",1]]},{"name":"GetPreviousMessageText","line":53,"kind":"procedure","access":"local","params":1,"steps":[[60,"ext","codeunit",4307,"GetText",1],[63,"call","GetSentMessageToAddress",2],[71,"call","GetSentMessageDate",1]]},{"name":"GetSentMessageToAddress","line":89,"kind":"procedure","access":"internal","params":2,"steps":[[106,"ext","codeunit",4305,"IsContactOverrideTrusted",1],[116,"ext","codeunit",4305,"FindContactByEmail",3]]},{"name":"GetMessageCcRecipients","line":126,"kind":"procedure","access":"internal","params":1,"steps":[[140,"ext","codeunit",4419,"TryGetMappedReplyCcRecipients",3],[143,"call","RecipientsToText",1],[155,"ext","codeunit",8904,"Get",1],[158,"ext","codeunit",8904,"GetRecipients",2],[159,"call","RecipientsToText",1]]},{"name":"MessageRequiresReview","line":176,"kind":"procedure","access":"internal","params":3,"steps":[[187,"ext","codeunit",4305,"ContactExistsByEmail",1]]}]}