Codeunit 30285 Shpfy Sync Companies

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 91 lines

src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfySyncCompanies.Codeunit.allines 13 to 28 of 91, Copyright (c) Microsoft Corporation. MIT

codeunit 30285 "Shpfy Sync Companies"{    Access = Internal;    TableNo = "Shpfy Shop";    trigger OnRun()    var        SyncStartTime: DateTime;    begin        Rec.TestField(Enabled, true);        SetShop(Rec);        SyncStartTime := CurrentDateTime;        if Shop."Company Import From Shopify" = Shop."Company Import From Shopify"::AllCompanies then            ImportCompaniesFromShopify(true);        if (Shop."Company Import From Shopify" = Shop."Company Import From Shopify"::WithOrderImport) and Shop."Shopify Can Update Companies" then            ImportCompaniesFromShopify(false);

All 91 lines

Procedures 1

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