{"title":"Codeunit 2015 Entity Text AI Upgrade, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/2015-entity-text-ai-upgrade/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":2015,"name":"Entity Text AI Upgrade","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/2015-entity-text-ai-upgrade/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/2015-entity-text-ai-upgrade/source/","path":"src/System Application/App/Entity Text/src/EntityTextAIUpgrade.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:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"codeunit:7773":{"name":"Copilot Capability","url":"https://jonas-paprotka.de/ref/codeunit/7773-copilot-capability/"}},"procs":[{"name":"OnUpgradePerDatabase","line":17,"kind":"trigger","steps":[[19,"call","RegisterCapability",0]]},{"name":"RegisterCapability","line":22,"kind":"procedure","access":"local","params":0,"steps":[[29,"ext","codeunit",9999,"HasUpgradeTag",1],[29,"call","GetRegisterMarketingTextCapabilityTag",0],[30,"ext","codeunit",457,"IsSaaSInfrastructure",0],[31,"ext","codeunit",7773,"IsCapabilityRegistered",1],[32,"ext","codeunit",7773,"RegisterCapability",4],[34,"ext","codeunit",9999,"SetUpgradeTag",1],[34,"call","GetRegisterMarketingTextCapabilityTag",0]]}]}