Codeunit 1245 Transform. Rule - Formatting
Source AL, 131 lines
src/Layers/W1/BaseApp/System/DataExchange/Transformations/TransformRuleFormatting.Codeunit.allines 13 to 28 of 131, Copyright (c) Microsoft Corporation. MIT
codeunit 1245 "Transform. Rule - Formatting" implements "Transformation Rule"{ procedure TransformText(TransformationRule: Record "Transformation Rule"; OldValue: Text; var NewValue: Text); begin case TransformationRule."Transformation Type" of TransformationRule."Transformation Type"::"Title Case": NewValue := TextToTitleCase(OldValue, TransformationRule."Data Formatting Culture"); TransformationRule."Transformation Type"::"Date Formatting": NewValue := DateFormatting(OldValue, TransformationRule."Data Format", TransformationRule."Data Formatting Culture"); TransformationRule."Transformation Type"::"Date and Time Formatting": NewValue := DateTimeFormatting(OldValue, TransformationRule."Data Format", TransformationRule."Data Formatting Culture"); TransformationRule."Transformation Type"::"Decimal Formatting": NewValue := DecimalFormatting(OldValue, TransformationRule."Data Formatting Culture"); end; 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 |