Codeunit 1244 Transform. Rule - Basic
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 := '';Public procedures 5 in 29
| Transform | new in 25 |
| Is | new in 25 |
| Check | new in 25 |
| Validate | new in 25 |
| Get | new in 25 |