{"title":"Codeunit 30301 Shpfy Company Import, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/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":30301,"name":"Shpfy Company Import","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30301-shpfy-company-import/source/","path":"src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfyCompanyImport.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: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:30303":{"name":"Shpfy Company Mapping","url":"https://jonas-paprotka.de/ref/codeunit/30303-shpfy-company-mapping/"},"codeunit:30124":{"name":"Shpfy Update Customer","url":"https://jonas-paprotka.de/ref/codeunit/30124-shpfy-update-customer/"},"codeunit:30110":{"name":"Shpfy Create Customer","url":"https://jonas-paprotka.de/ref/codeunit/30110-shpfy-create-customer/"}},"procs":[{"name":"OnRun","line":16,"kind":"trigger","steps":[[21,"call","SetCompany",1],[23,"ext","codeunit",30286,"RetrieveShopifyCompany",2],[25,"write",30150,"Delete"],[29,"ext","codeunit",30286,"UpdateShopifyCompanyLocations",1],[32,"ext","codeunit",30303,"FindMapping",2],[34,"ext","codeunit",30124,"SetShop",1],[35,"ext","codeunit",30124,"UpdateCustomerFromCompany",1],[39,"ext","codeunit",30110,"SetShop",1],[40,"ext","codeunit",30110,"SetTemplateCode",1],[41,"ext","codeunit",30110,"CreateCustomerFromCompany",2]]},{"name":"SetCompany","line":57,"kind":"procedure","access":"local","params":1,"steps":[[66,"write",30150,"Insert"]]},{"name":"SetShop","line":77,"kind":"procedure","access":"internal","params":1,"steps":[[80,"ext","codeunit",30286,"SetShop",1],[81,"ext","codeunit",30303,"SetShop",1]]}]}