Codeunit 30123 Shpfy Sync Customers
Source AL, 109 lines
src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfySyncCustomers.Codeunit.allines 13 to 28 of 109, Copyright (c) Microsoft Corporation. MIT
codeunit 30123 "Shpfy Sync Customers"{ Access = Internal; TableNo = "Shpfy Shop"; trigger OnRun() var SyncStartTime: DateTime; begin Rec.TestField(Enabled, true); SetShop(Rec); SyncStartTime := CurrentDateTime; if Shop."Customer Import From Shopify" = Shop."Customer Import From Shopify"::AllCustomers then ImportCustomersFromShopify(true); if (Shop."Customer Import From Shopify" = Shop."Customer Import From Shopify"::WithOrderImport) and Shop."Shopify Can Update Customer" then ImportCustomersFromShopify(false);Procedures 1
| Procedure | Versions |
|---|---|
| internal Set | new in 20 |