{"title":"Codeunit 2016 Entity Text Prompts, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/2016-entity-text-prompts/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":2016,"name":"Entity Text Prompts","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/2016-entity-text-prompts/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/2016-entity-text-prompts/source/","path":"src/System Application/App/Entity Text/src/EntityTextPrompts.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:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:2012":{"name":"Entity Text Impl.","url":"https://jonas-paprotka.de/ref/codeunit/2012-entity-text-impl/"},"codeunit:2011":{"name":"Entity Text AOAI Settings","url":"https://jonas-paprotka.de/ref/codeunit/2011-entity-text-aoai-settings/"}},"procs":[{"name":"GetAzureKeyVaultSecret","line":17,"kind":"procedure","access":"internal","params":2,"steps":[[23,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[24,"ext","codeunit",8703,"LogError",4],[24,"ext","codeunit",2012,"GetFeatureName",0]]},{"name":"GetGenerateProdMktAdFuncPrompt","line":30,"kind":"procedure","access":"internal","params":1,"steps":[[42,"call","GetAzureKeyVaultSecret",2],[52,"call","GetAzureKeyVaultSecret",2]]},{"name":"GetMagicFunctionPrompt","line":59,"kind":"procedure","access":"internal","params":0,"steps":[[63,"call","GetAzureKeyVaultSecret",2]]},{"name":"BuildPrompts","line":68,"kind":"procedure","params":7,"steps":[[77,"ext","codeunit",2011,"GetLanguageName",0],[79,"call","GetAzureKeyVaultSecret",2],[84,"call","BuildSinglePrompt",7],[85,"call","BuildSinglePrompt",7]]},{"name":"HasPromptInfo","line":138,"kind":"procedure","params":0,"steps":[[142,"call","GetAzureKeyVaultSecret",2]]}]}