Codeunit 30304 Shpfy Comp. By Email/Phone

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 125 lines

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

codeunit 30304 "Shpfy Comp. By Email/Phone" implements "Shpfy ICompany Mapping", "Shpfy IFind Company Mapping"{    Access = Internal;    internal procedure DoMapping(CompanyId: BigInteger; ShopCode: Code[20]; TemplateCode: Code[20]; AllowCreate: Boolean): Code[20]    var        ShopifyCompany: Record "Shpfy Company";    begin        ShopifyCompany.SetAutoCalcFields("Customer No.");        if ShopifyCompany.Get(CompanyId) then begin            if not IsNullGuid(ShopifyCompany."Customer SystemId") then begin                ShopifyCompany.CalcFields("Customer No.");                if ShopifyCompany."Customer No." = '' then begin                    Clear(ShopifyCompany."Customer SystemId");                    ShopifyCompany.Modify(true);                end else

All 125 lines

Procedures 2

ProcedureVersions
internal DoMapping(CompanyId: BigInteger; ShopCode: Code[20]; TemplateCode: Code[20]; AllowCreate: Boolean): Code[20]new in 24
internal FindMapping(var ShopifyCompany: Record "Shpfy Company"; var TempShopifyCustomer: Record "Shpfy Customer" temporary): Booleannew in 26

Changes 1 in 26

List17181920212223242526272829
Procedures1
internal FindMapping(var ShopifyCompany: Record "Shpfy Company"; var TempShopifyCustomer: Record "Shpfy Customer" temporary): Booleannew in 26
added

All 1 changes in 24-29