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
| Procedure | Versions |
|---|
| 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): Boolean | new in 26 |
Changes 1 in 26
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | 1 | | | |
|---|
| internal FindMapping(var ShopifyCompany: Record "Shpfy Company"; var TempShopifyCustomer: Record "Shpfy Customer" temporary): Boolean | new in 26 |
| added |
All 1 changes in 24-29