{"title":"Codeunit 9192 Company Creation Demo Data, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/9192-company-creation-demo-data/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":9192,"name":"Company Creation Demo Data","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/9192-company-creation-demo-data/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/9192-company-creation-demo-data/source/","path":"src/Layers/W1/BaseApp/Utilities/CompanyCreationDemoData.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:2504":{"name":"Extension Management","url":"https://jonas-paprotka.de/ref/codeunit/2504-extension-management/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"}},"procs":[{"name":"CheckDemoDataAppsAvailability","line":10,"kind":"procedure","params":0,"steps":[[16,"call","CheckAndPromptUserToInstallContosoRequiredApps",0]]},{"name":"CheckAndPromptUserToInstallContosoRequiredApps","line":25,"kind":"procedure","params":0,"steps":[[29,"call","GetRequireDemoDataAppIDs",1],[31,"call","AreAppsInstalled",1],[38,"call","InstallApps",1],[42,"call","AreAppsInstalled",1]]},{"name":"InstallApps","line":45,"kind":"procedure","access":"local","params":1,"steps":[[50,"call","TryInstallApp",1]]},{"name":"TryInstallApp","line":54,"kind":"procedure","access":"local","params":1,"steps":[[60,"ext","codeunit",2504,"GetLatestVersionPackageIdByAppId",1],[62,"ext","codeunit",2504,"InstallExtension",3],[66,"ext","codeunit",457,"IsSaaS",0],[67,"ext","codeunit",2504,"InstallMarketplaceExtension",1]]},{"name":"AreAppsInstalled","line":70,"kind":"procedure","access":"local","params":1,"steps":[[75,"ext","codeunit",2504,"IsInstalledByAppId",1]]},{"name":"GetRequireDemoDataAppIDs","line":81,"kind":"procedure","access":"local","params":1,"steps":[[85,"call","GetCountryContosoAppId",0]]},{"name":"GetCountryContosoAppId","line":96,"kind":"procedure","access":"local","params":0,"steps":[[102,"ext","codeunit",457,"GetApplicationFamily",0]]}]}