{"title":"Codeunit 30285 Shpfy Sync Companies, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/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":30285,"name":"Shpfy Sync Companies","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30285-shpfy-sync-companies/source/","path":"src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfySyncCompanies.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":{"table:30102":{"name":"Shpfy Shop","url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/"},"codeunit:30286":{"name":"Shpfy Company API","url":"https://jonas-paprotka.de/ref/codeunit/30286-shpfy-company-api/"},"table:30150":{"name":"Shpfy Company","url":"https://jonas-paprotka.de/ref/table/30150-shpfy-company/"},"codeunit:30301":{"name":"Shpfy Company Import","url":"https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/"},"codeunit:30284":{"name":"Shpfy Company Export","url":"https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/"}},"procs":[{"name":"OnRun","line":18,"kind":"trigger","steps":[[23,"call","SetShop",1],[26,"call","ImportCompaniesFromShopify",1],[28,"call","ImportCompaniesFromShopify",1],[30,"call","ExportCompaniesToShopify",0],[33,"ext","table",30102,"SetLastSyncTime",2],[34,"write",30102,"Modify"]]},{"name":"ImportCompaniesFromShopify","line":44,"kind":"procedure","access":"local","params":1,"steps":[[52,"ext","codeunit",30286,"RetrieveShopifyCompanyIds",1],[59,"write",30150,"Insert"],[66,"write",30150,"Insert"],[72,"run","codeunit",30301]]},{"name":"ExportCompaniesToShopify","line":76,"kind":"procedure","access":"local","params":0,"steps":[[80,"ext","codeunit",30284,"SetCreateCompanies",1],[81,"run","codeunit",30284]]},{"name":"SetShop","line":84,"kind":"procedure","access":"internal","params":1,"steps":[[87,"ext","codeunit",30284,"SetShop",1],[88,"ext","codeunit",30301,"SetShop",1],[89,"ext","codeunit",30286,"SetShop",1]]}]}