Codeunit 30123 Shpfy Sync Customers

Shopify Connector, Microsoft.Integration.Shopify

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);

All 109 lines

Procedures 1

ProcedureVersions
internal SetShop(ShopifyShop: Record "Shpfy Shop")new in 20