Source AL, 56 lines
src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfyCompByDefaultComp.Codeunit.allines 13 to 28 of 56, Copyright (c) Microsoft Corporation. MIT
codeunit 30305 "Shpfy Comp. By Default Comp." implements "Shpfy ICompany Mapping", "Shpfy IFind Company Mapping"{ Access = Internal; var Shop: Record "Shpfy Shop"; internal procedure DoMapping(CompanyId: BigInteger; ShopCode: Code[20]; TemplateCode: Code[20]; AllowCreate: Boolean): Code[20] begin Shop.Get(ShopCode); exit(Shop."Default Company No."); end; internal procedure FindMapping(var ShopifyCompany: Record "Shpfy Company"; var TempShopifyCustomer: Record "Shpfy Customer" temporary): Boolean var Customer: Record Customer;
All 56 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