Codeunit 1249 Transform. Rule - Replace
Source AL, 61 lines
src/Layers/W1/BaseApp/System/DataExchange/Transformations/TransformRuleReplace.Codeunit.allines 11 to 26 of 61, Copyright (c) Microsoft Corporation. MIT
codeunit 1249 "Transform. Rule - Replace" implements "Transformation Rule"{ procedure TransformText(TransformationRule: Record "Transformation Rule"; OldValue: Text; var NewValue: Text); begin case TransformationRule."Transformation Type" of TransformationRule."Transformation Type"::Replace: NewValue := StringReplace(OldValue, TransformationRule."Find Value", TransformationRule."Replace Value"); TransformationRule."Transformation Type"::"Regular Expression - Replace": NewValue := RegularExpressionReplace(OldValue, TransformationRule."Find Value", TransformationRule."Replace Value"); end; end; procedure IsDataFormatUpdateAllowed(): Boolean; begin exit(false) end;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 |