Codeunit 30240 Shpfy County From Json Code

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 21 lines

src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfyCountyFromJsonCode.Codeunit.allines 10 to 21 of 21, Copyright (c) Microsoft Corporation. MIT

codeunit 30240 "Shpfy County From Json Code" implements "Shpfy ICounty From Json"{    Access = Internal;    internal procedure County(JAddressObject: JsonObject): Text    var        Customer: Record Customer;        JsonHelper: Codeunit "Shpfy Json Helper";    begin        exit(CopyStr(JsonHelper.GetValueAsText(JAddressObject, 'provinceCode').Trim(), 1, MaxStrLen(Customer.County)));    end;}

All 21 lines

Procedures 1

ProcedureVersions
internal County(JAddressObject: JsonObject): Textnew in 22