Codeunit 1244 Transform. Rule - Basic

Base Application, System.IO

Source AL, 63 lines

src/Layers/W1/BaseApp/System/DataExchange/Transformations/TransformRuleBasic.Codeunit.allines 11 to 26 of 63, Copyright (c) Microsoft Corporation. MIT

codeunit 1244 "Transform. Rule - Basic" implements "Transformation Rule"{    procedure TransformText(TransformationRule: Record "Transformation Rule"; OldValue: Text; var NewValue: Text);    begin        case TransformationRule."Transformation Type" of            TransformationRule."Transformation Type"::Uppercase:                NewValue := UpperCase(OldValue);            TransformationRule."Transformation Type"::Lowercase:                NewValue := LowerCase(OldValue);            TransformationRule."Transformation Type"::Trim:                NewValue := DelChr(OldValue, '<>');            TransformationRule."Transformation Type"::"Remove Non-Alphanumeric Characters":                NewValue := RemoveNonAlphaNumericCharacters(OldValue);            TransformationRule."Transformation Type"::Unixtimestamp:                if not TryConvert2BigInteger(OldValue, NewValue) then                    NewValue := '';

All 63 lines

Public procedures 5 in 29

TransformText(TransformationRule: Record "Transformation Rule"; OldValue: Text; var NewValue: Text)new in 25
IsDataFormatUpdateAllowed(): Booleannew in 25
CheckMandatoryFieldsInTransformationRule(TransformationRule: Record "Transformation Rule")new in 25
ValidateTransformationRuleField(FieldNo: Integer; var TransformationRule: Record "Transformation Rule"; var xTransformationRule: Record "Transformation Rule"): Booleannew in 25
GetVisibleGroups(TransformationRule: Record "Transformation Rule"; var VisibleTransformationRuleGroups: List of [Enum "Transformation Rule Group"])new in 25