{"title":"Codeunit 30273 Shpfy Installer, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30273-shpfy-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":30273,"name":"Shpfy Installer","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30273-shpfy-installer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30273-shpfy-installer/source/","path":"src/Apps/W1/Shopify/App/src/Base/Codeunits/ShpfyInstaller.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:3905":{"name":"Reten. Pol. Allowed Tables","url":"https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/"},"codeunit:3902":{"name":"Retention Policy Setup","url":"https://jonas-paprotka.de/ref/codeunit/3902-retention-policy-setup/"},"table:3901":{"name":"Retention Policy Setup","url":"https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/"},"codeunit:9701":{"name":"Cues And KPIs","url":"https://jonas-paprotka.de/ref/codeunit/9701-cues-and-kpis/"},"table:30102":{"name":"Shpfy Shop","url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/"}},"procs":[{"name":"OnInstallAppPerCompany","line":20,"kind":"trigger","steps":[[22,"call","AddRetentionPolicyAllowedTables",0],[23,"call","AddShopifyCueSetup",0]]},{"name":"AddRetentionPolicyAllowedTables","line":31,"kind":"procedure","params":1,"steps":[[41,"ext","codeunit",9999,"HasUpgradeTag",1],[41,"call","GetShopifyRetentionPolicySetupUpgradeTag",0],[45,"ext","codeunit",3905,"AddAllowedTable",2],[46,"ext","codeunit",3905,"AddAllowedTable",2],[47,"ext","codeunit",3905,"AddAllowedTable",2],[52,"call","CreateRetentionPolicySetup",2],[52,"ext","codeunit",3902,"FindOrCreateRetentionPeriod",1],[53,"call","CreateRetentionPolicySetup",2],[53,"ext","codeunit",3902,"FindOrCreateRetentionPeriod",1],[54,"call","CreateRetentionPolicySetup",2],[54,"ext","codeunit",3902,"FindOrCreateRetentionPeriod",1],[55,"ext","codeunit",9999,"SetUpgradeTag",1],[55,"call","GetShopifyRetentionPolicySetupUpgradeTag",0]]},{"name":"CreateRetentionPolicySetup","line":58,"kind":"procedure","access":"local","params":2,"steps":[[64,"validate",3901,"Table Id"],[65,"validate",3901,"Apply to all records"],[66,"validate",3901,"Retention Period"],[67,"validate",3901,"Enabled"],[68,"write",3901,"Insert",1]]},{"name":"AddShopifyCueSetup","line":71,"kind":"procedure","params":0,"steps":[[77,"ext","codeunit",9999,"HasUpgradeTag",1],[77,"call","GetShopifyCueSetupUpgradeTag",0],[80,"ext","codeunit",9701,"InsertData",7],[89,"ext","codeunit",9701,"InsertData",7],[98,"ext","codeunit",9701,"InsertData",7],[107,"ext","codeunit",9701,"InsertData",7],[116,"ext","codeunit",9701,"InsertData",7],[125,"ext","codeunit",9701,"InsertData",7],[134,"ext","codeunit",9701,"InsertData",7],[143,"ext","codeunit",9701,"InsertData",7],[152,"ext","codeunit",9999,"SetUpgradeTag",1],[152,"call","GetShopifyCueSetupUpgradeTag",0]]},{"name":"AddAllowedTablesOnRefreshAllowedTables","line":166,"kind":"procedure","access":"local","params":0,"steps":[[168,"call","AddRetentionPolicyAllowedTables",1]]},{"name":"AddAllowedTablesOnAfterSystemInitialization","line":172,"kind":"procedure","access":"local","params":0,"steps":[[174,"call","AddRetentionPolicyAllowedTables",0]]},{"name":"ShpfyOnAfterCreatedNewCompanyByCopyCompany","line":178,"kind":"procedure","access":"local","params":1,"steps":[[183,"write",30102,"ModifyAll"]]},{"name":"ShpfyOnClearCompanyConfiguration","line":187,"kind":"procedure","access":"local","params":3,"steps":[[191,"write",30102,"ModifyAll"]]}]}