{"title":"Codeunit 7781 Copilot Telemetry Upgrade, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7781-copilot-telemetry-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":7781,"name":"Copilot Telemetry Upgrade","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/7781-copilot-telemetry-upgrade/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7781-copilot-telemetry-upgrade/source/","path":"src/System Application/App/AI/src/Copilot/CopilotTelemetryUpgrade.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:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"codeunit:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"codeunit:7775":{"name":"Copilot Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/7775-copilot-telemetry/"}},"procs":[{"name":"OnUpgradePerDatabase","line":16,"kind":"trigger","steps":[[18,"call","SendCopilotDataMovementUpgradeTelemetry",0]]},{"name":"SendCopilotDataMovementUpgradeTelemetry","line":21,"kind":"procedure","access":"internal","params":0,"steps":[[27,"ext","codeunit",457,"IsOnPrem",0],[30,"ext","codeunit",9999,"HasDatabaseUpgradeTag",1],[30,"call","GetSendCopilotDataMovementUpgradeTelemetryTag",0],[33,"ext","codeunit",7775,"SendCopilotDataMovementUpdatedTelemetry",0],[35,"ext","codeunit",9999,"SetUpgradeTag",1],[35,"call","GetSendCopilotDataMovementUpgradeTelemetryTag",0]]},{"name":"RegisterUpgradeTags","line":39,"kind":"procedure","access":"local","params":1,"steps":[[41,"call","GetSendCopilotDataMovementUpgradeTelemetryTag",0]]}]}