Codeunit 30239 Shpfy County From Json Name

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Customers/Codeunits/ShpfyCountyFromJsonName.Codeunit.al21 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.Shopify;using Microsoft.Sales.Customer;codeunit 30239 "Shpfy County From Json Name" 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, 'province').Trim(), 1, MaxStrLen(Customer.County)));    end;}