Codeunit 30285 Shpfy Sync Companies
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);Procedures 1
| Procedure | Versions |
|---|---|
| internal Set | new in 24 |