{"title":"Codeunit 30123 Shpfy Sync Customers, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30123-shpfy-sync-customers/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":30123,"name":"Shpfy Sync Customers","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30123-shpfy-sync-customers/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30123-shpfy-sync-customers/source/","path":"src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfySyncCustomers.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:30116":{"name":"Shpfy Customer Export","url":"https://jonas-paprotka.de/ref/codeunit/30116-shpfy-customer-export/"},"codeunit:30114":{"name":"Shpfy Customer API","url":"https://jonas-paprotka.de/ref/codeunit/30114-shpfy-customer-api/"},"table:30105":{"name":"Shpfy Customer","url":"https://jonas-paprotka.de/ref/table/30105-shpfy-customer/"},"codeunit:30117":{"name":"Shpfy Customer Import","url":"https://jonas-paprotka.de/ref/codeunit/30117-shpfy-customer-import/"}},"procs":[{"name":"OnRun","line":18,"kind":"trigger","steps":[[23,"call","SetShop",1],[26,"call","ImportCustomersFromShopify",1],[28,"call","ImportCustomersFromShopify",1],[30,"call","SyncCustomersToShopify",0],[33,"ext","table",30102,"SetLastSyncTime",2],[34,"write",30102,"Modify"]]},{"name":"SyncCustomersToShopify","line":48,"kind":"procedure","access":"local","params":0,"steps":[[52,"ext","codeunit",30116,"SetCreateCustomers",1],[53,"run","codeunit",30116]]},{"name":"ImportCustomersFromShopify","line":59,"kind":"procedure","access":"local","params":1,"steps":[[67,"ext","codeunit",30114,"RetrieveShopifyCustomerIds",1],[74,"write",30105,"Insert"],[82,"write",30105,"Insert"],[87,"ext","codeunit",30117,"SetShop",1],[89,"ext","codeunit",30117,"SetCustomer",1],[92,"run","codeunit",30117]]},{"name":"SetShop","line":102,"kind":"procedure","access":"internal","params":1,"steps":[[105,"ext","codeunit",30114,"SetShop",1],[106,"ext","codeunit",30117,"SetShop",1],[107,"ext","codeunit",30116,"SetShop",1]]}]}