{"title":"Codeunit 1596 Email Installer, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1596-email-installer/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":1596,"name":"Email Installer","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/1596-email-installer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1596-email-installer/source/","path":"src/System Application/App/Email/src/EmailInstaller.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:8930":{"name":"Email View Policy","url":"https://jonas-paprotka.de/ref/codeunit/8930-email-view-policy/"},"codeunit:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"codeunit:1597":{"name":"Email Upgrade","url":"https://jonas-paprotka.de/ref/codeunit/1597-email-upgrade/"},"codeunit:3905":{"name":"Reten. Pol. Allowed Tables","url":"https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/"}},"procs":[{"name":"OnInstallAppPerCompany","line":22,"kind":"trigger","steps":[[26,"call","AddRetentionPolicyAllowedTables",0],[27,"ext","codeunit",8930,"CheckForDefaultEntry",1]]},{"name":"AddRetentionPolicyAllowedTables","line":35,"kind":"procedure","params":1,"steps":[[43,"ext","codeunit",9999,"HasUpgradeTag",1],[43,"ext","codeunit",1597,"GetEmailTablesAddedToAllowedListUpgradeTag",0],[47,"ext","codeunit",3905,"AddAllowedTable",3],[48,"ext","codeunit",3905,"AddAllowedTable",3],[49,"ext","codeunit",3905,"AddAllowedTable",3],[52,"ext","codeunit",9999,"SetUpgradeTag",1],[52,"ext","codeunit",1597,"GetEmailTablesAddedToAllowedListUpgradeTag",0]]},{"name":"AddAllowedTablesOnRefreshAllowedTables","line":56,"kind":"procedure","access":"local","params":0,"steps":[[58,"call","AddRetentionPolicyAllowedTables",1]]}]}