Codeunit 30104 Shpfy Filter Mgt.
src/Apps/W1/Shopify/App/src/Base/Codeunits/ShpfyFilterMgt.Codeunit.al26 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;codeunit 30104 "Shpfy Filter Mgt."{ Access = Internal; internal procedure CleanFilterValue(Value: Text): Text; begin exit('@' + Value.Replace('(', '?').Replace(')', '?').Replace('*', '?').Replace('.', '?').Replace('<', '?').Replace('>', '?').Replace('=', '?')); end; internal procedure CleanFilterValue(Value: Text; MaxLength: Integer): Text; begin exit(CleanFilterValue(CopyStr(Value, 1, MaxLength))); end; internal procedure KeepDigits(Value: Text): Text; begin exit(DelChr(Value, '=', DelChr(Value, '=', '0123456789'))); end;}