{"title":"Codeunit 1567 System Upgrade Privacy Notices, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1567-system-upgrade-privacy-notices/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":1567,"name":"System Upgrade Privacy Notices","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/1567-system-upgrade-privacy-notices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1567-system-upgrade-privacy-notices/source/","path":"src/System Application/App/Privacy Notice/src/SystemUpgradePrivacyNotices.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:1563":{"name":"Privacy Notice","url":"https://jonas-paprotka.de/ref/codeunit/1563-privacy-notice/"},"codeunit:1566":{"name":"System Privacy Notice Reg.","url":"https://jonas-paprotka.de/ref/codeunit/1566-system-privacy-notice-reg/"}},"procs":[{"name":"OnUpgradePerDatabase","line":16,"kind":"trigger","steps":[[18,"call","UpgradeTeamsPrivacyNotice",0],[19,"call","UpgradeMicrosoftLearnPrivacyNotice",0]]},{"name":"UpgradeTeamsPrivacyNotice","line":22,"kind":"procedure","access":"local","params":0,"steps":[[28,"ext","codeunit",9999,"HasUpgradeTag",1],[28,"call","GetTeamsPrivacyNoticeUpgradeTag",0],[31,"ext","codeunit",1563,"CreateDefaultPrivacyNotices",0],[33,"ext","codeunit",1563,"SetApprovalState",2],[33,"ext","codeunit",1566,"GetTeamsPrivacyNoticeId",0],[35,"ext","codeunit",9999,"SetUpgradeTag",1],[35,"call","GetTeamsPrivacyNoticeUpgradeTag",0]]},{"name":"UpgradeMicrosoftLearnPrivacyNotice","line":38,"kind":"procedure","access":"local","params":0,"steps":[[44,"ext","codeunit",9999,"HasUpgradeTag",1],[44,"call","GetMicrosoftLearnPrivacyNoticeUpgradeTag",0],[47,"ext","codeunit",1563,"CreateDefaultPrivacyNotices",0],[49,"ext","codeunit",1563,"SetApprovalState",2],[49,"ext","codeunit",1566,"GetMicrosoftLearnID",0],[51,"ext","codeunit",9999,"SetUpgradeTag",1],[51,"call","GetMicrosoftLearnPrivacyNoticeUpgradeTag",0]]},{"name":"RegisterPerCompanyTags","line":55,"kind":"procedure","access":"local","params":1,"steps":[[57,"call","GetTeamsPrivacyNoticeUpgradeTag",0],[58,"call","GetMicrosoftLearnPrivacyNoticeUpgradeTag",0]]}]}