{"title":"Codeunit 4598 SOA Instructions, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/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-05","object":{"type":"codeunit","id":4598,"name":"SOA Instructions","app":"Sales Order Agent","url":"https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/source/","path":"src/Apps/W1/SalesOrderAgent/app/src/Setup/SOAInstructions.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:2200":{"name":"Azure Key Vault","url":"https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/"},"codeunit:4400":{"name":"SOA Setup","url":"https://jonas-paprotka.de/ref/codeunit/4400-soa-setup/"},"codeunit:4312":{"name":"Agent Session","url":"https://jonas-paprotka.de/ref/codeunit/4312-agent-session/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"}},"procs":[{"name":"GetSOAInstructions","line":20,"kind":"procedure","access":"internal","params":0,"steps":[[38,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[39,"ext","codeunit",4400,"GetFeatureName",0]]},{"name":"GetBroaderItemSearchSystemPrompt","line":58,"kind":"procedure","access":"internal","params":0,"steps":[[64,"call","AddCultureToBroaderItemSearchSystemPrompt",1]]},{"name":"AddCultureToBroaderItemSearchSystemPrompt","line":69,"kind":"procedure","access":"local","params":1,"steps":[[82,"ext","codeunit",4400,"GetCommunicationLanguageCodeAndFormat",3],[82,"ext","codeunit",4312,"GetCurrentSessionAgentTaskId",0],[84,"ext","codeunit",43,"GetLanguageId",1],[85,"ext","codeunit",43,"GetCultureName",1],[86,"call","TryFormatInstructionsText",2],[87,"ext","codeunit",8703,"LogError",4],[87,"ext","codeunit",4400,"GetFeatureName",0]]},{"name":"GetMailTemplateCheckSystemPrompt","line":114,"kind":"procedure","access":"internal","params":0,"steps":[[129,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[130,"ext","codeunit",4400,"GetFeatureName",0],[134,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[135,"ext","codeunit",4400,"GetFeatureName",0]]},{"name":"GetItemSelectorSystemPrompt","line":142,"kind":"procedure","access":"internal","params":1,"steps":[[146,"call","ReadResourcePrompt",2]]},{"name":"GetItemSelectorPrompt","line":149,"kind":"procedure","access":"internal","params":0,"steps":[[154,"call","ReadResourcePrompt",2]]}]}