Table "Transformation Rule"
ID 1237
Namespace: System.IO
Properties
Fields
Name
Type
Description
Code
Code[20]
Description
Text[100]
"Transformation Type"
Enum System.IO."Transformation Rule Type"
"Find Value"
Text[250]
"Replace Value"
Text[250]
"Starting Text"
Text[250]
"Ending Text"
Text[250]
"Start Position"
Integer
Length
Integer
"Data Format"
Text[100]
"Data Formatting Culture"
Text[10]
"Next Transformation Rule"
Code[20]
"Table ID"
Integer
"Table Caption"
Text[250]
"Source Field ID"
Integer
"Source Field Caption"
Text[250]
"Target Field ID"
Integer
"Target Field Caption"
Text[250]
"Field Lookup Rule"
Option
Precision
Decimal
Direction
Text[1]
"Extract From Date Type"
Enum System.IO."Extract From Date Type"
SystemId
Guid
SystemCreatedAt
DateTime
SystemCreatedBy
Guid
SystemModifiedAt
DateTime
SystemModifiedBy
Guid
SystemRowVersion
BigInteger
Methods
procedure CreateDefaultTransformations()
procedure ValidateTransformationRuleField(FieldNo: Integer)
Parameters
Name
Type
Description
FieldNo
Integer
procedure IsDataFormatUpdateAllowed(): Boolean
Returns
InsertRec
procedure InsertRec(NewCode: Code[20], NewDescription: Text[100], NewTransformationType: Enum "Transformation Rule Type", NewStartPosition: Integer, NewLength: Integer, NewDataFormat: Text[100], NewDataFormattingCulture: Text[10])
Parameters
Name
Type
Description
NewCode
Code[20]
NewDescription
Text[100]
NewTransformationType
Enum System.IO."Transformation Rule Type"
NewStartPosition
Integer
NewLength
Integer
NewDataFormat
Text[100]
NewDataFormattingCulture
Text[10]
CreateRule
procedure CreateRule(NewCode: Code[20], NewDescription: Text[100], NewTransformationType: Enum "Transformation Rule Type", NewStartPosition: Integer, NewLength: Integer, NewDataFormat: Text[100], NewDataFormattingCulture: Text[10])
Parameters
Name
Type
Description
NewCode
Code[20]
NewDescription
Text[100]
NewTransformationType
Enum System.IO."Transformation Rule Type"
NewStartPosition
Integer
NewLength
Integer
NewDataFormat
Text[100]
NewDataFormattingCulture
Text[10]
InsertFindAndReplaceRule
procedure InsertFindAndReplaceRule(NewCode: Code[20], NewDescription: Text[100], NewTransformationType: Enum "Transformation Rule Type", NewFindValue: Text[250], NewReplaceValue: Text[250], NextTransformationRule: Code[20])
Parameters
Name
Type
Description
NewCode
Code[20]
NewDescription
Text[100]
NewTransformationType
Enum System.IO."Transformation Rule Type"
NewFindValue
Text[250]
NewReplaceValue
Text[250]
NextTransformationRule
Code[20]
ReplaceRule
procedure ReplaceRule(NewCode: Code[20], NewDescription: Text[100], NewTransformationType: Enum "Transformation Rule Type", NewFindValue: Text[250], NewReplaceValue: Text[250])
Parameters
ReplaceRule
procedure ReplaceRule(NewCode: Code[20], NewDescription: Text[100], NewTransformationType: Enum "Transformation Rule Type", NewFindValue: Text[250], NewReplaceValue: Text[250], NextTransformationRule: Code[20])
Parameters
Name
Type
Description
NewCode
Code[20]
NewDescription
Text[100]
NewTransformationType
Enum System.IO."Transformation Rule Type"
NewFindValue
Text[250]
NewReplaceValue
Text[250]
NextTransformationRule
Code[20]
TransformText
procedure TransformText(OldValue: Text): Text
Parameters
Name
Type
Description
OldValue
Text
Returns
procedure GetFourthToSixthSubstringCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetUSDateFormatCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetUSDateTimeFormatCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetUppercaseCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetLowercaseCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetTitlecaseCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetTrimCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetAlphanumericCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetDanishDecimalFormatCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetYYYYMMDDCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetYYYYMMDDHHMMSSCode(): Code[20]
Returns
Type
Description
Code[20]
procedure GetDeleteNOTPROVIDEDCode(): Code[20]
Returns
Type
Description
Code[20]
procedure EditNextTransformationRule()
Events
OnTransformation
[IntegrationEvent(False,False)]
procedure OnTransformation(TransformationCode: Code[20], InputText: Text, var OutputText: Text)
Parameters
Name
Type
Description
TransformationCode
Code[20]
InputText
Text
OutputText
Text
[IntegrationEvent(False,False)]
procedure OnCreateTransformationRules()
[IntegrationEvent(True,False)]
local procedure OnBeforeIsDataFormatUpdateAllowed(FieldNumber: Integer, var DataFormatUpdateAllowed: Boolean, var IsHandled: Boolean)
Parameters
Name
Type
Description
FieldNumber
Integer
DataFormatUpdateAllowed
Boolean
IsHandled
Boolean
[IntegrationEvent(False,False)]
procedure OnValidateLengthOnBeforeTestTransformationType(var TransformationRule: Record "Transformation Rule", xTransformationRule: Record "Transformation Rule", var IsHandled: Boolean)
Parameters
See also