Codeunit 30398 Shpfy Comp. By Tax Id
Source AL, 101 lines
src/Apps/W1/Shopify/App/src/Companies/Codeunits/ShpfyCompByTaxId.Codeunit.allines 13 to 28 of 101, Copyright (c) Microsoft Corporation. MIT
codeunit 30398 "Shpfy Comp. By Tax Id" 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 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 exit(ShopifyCompany."Customer No.");Procedures 2
| Procedure | Versions |
|---|---|
| internal Do | new in 26 |
| internal Find | new in 26 |