{"title":"Codeunit 30284 Shpfy Company Export, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/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":30284,"name":"Shpfy Company Export","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30284-shpfy-company-export/source/","path":"src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfyCompanyExport.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:30313":{"name":"Shpfy Skipped Record","url":"https://jonas-paprotka.de/ref/codeunit/30313-shpfy-skipped-record/"},"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:30290":{"name":"Shpfy Catalog API","url":"https://jonas-paprotka.de/ref/codeunit/30290-shpfy-catalog-api/"},"table:30151":{"name":"Shpfy Company Location","url":"https://jonas-paprotka.de/ref/table/30151-shpfy-company-location/"},"codeunit:30116":{"name":"Shpfy Customer Export","url":"https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/"},"codeunit:30418":{"name":"Shpfy Metafields","url":"https://jonas-paprotka.de/ref/codeunit/30418-shpfy-metafields/"}},"procs":[{"name":"OnRun","line":20,"kind":"trigger","steps":[[32,"call","CreateShopifyCompany",1],[35,"call","UpdateShopifyCompany",2]]},{"name":"CreateShopifyCompany","line":51,"kind":"procedure","access":"local","params":1,"steps":[[58,"ext","codeunit",30313,"LogSkippedRecord",3],[65,"ext","codeunit",30313,"LogSkippedRecord",3],[69,"call","CreateCompanyContact",2],[70,"call","FillInShopifyCompany",2],[70,"call","FillInShopifyCompanyLocation",2],[71,"ext","codeunit",30286,"CreateCompany",3],[77,"write",30150,"Insert"],[80,"ext","codeunit",30290,"CreateCatalog",2],[84,"write",30151,"Insert"]]},{"name":"CreateCompanyContact","line":88,"kind":"procedure","access":"internal","params":2,"steps":[[92,"ext","codeunit",30116,"SetCreateCustomers",1],[93,"ext","codeunit",30116,"SetShop",1],[95,"run","codeunit",30116]]},{"name":"FillInShopifyCompany","line":102,"kind":"procedure","access":"internal","params":2,"steps":[[111,"call","HasDiff",2]]},{"name":"FillInShopifyCompanyLocation","line":117,"kind":"procedure","access":"internal","params":2,"steps":[[189,"call","GetShopifyPaymentTermsIdFromCustomer",2],[192,"call","HasDiff",2]]},{"name":"SetShop","line":216,"kind":"procedure","access":"internal","params":1,"steps":[[219,"ext","codeunit",30286,"SetShop",1],[220,"ext","codeunit",30290,"SetShop",1]]},{"name":"UpdateShopifyCompany","line":223,"kind":"procedure","access":"local","params":2,"steps":[[231,"ext","codeunit",30313,"LogSkippedRecord",4],[235,"call","FillInShopifyCompany",2],[236,"ext","codeunit",30286,"UpdateCompany",1],[237,"write",30150,"Modify"],[248,"call","FillInShopifyCompanyLocation",2],[249,"ext","codeunit",30286,"UpdateCompanyLocation",1],[250,"write",30151,"Modify"],[255,"call","UpdateMetafields",1]]},{"name":"UpdateMetafields","line":258,"kind":"procedure","access":"local","params":1,"steps":[[262,"ext","codeunit",30418,"SyncMetafieldsToShopify",3]]}]}