Codeunit 10 Type Helper

Base Application, System.Reflection

77 procedures

ProcedureVersions
Evaluate(var Variable: Variant; String: Text; Format: Text; CultureName: Text): Boolean17-29
GetLocalizedMonthToInt(Month: Text): Integer17-29
CompareDateTime(DateTimeA: DateTime; DateTimeB: DateTime): Integer17-29
FormatDate(DateToFormat: Date; LanguageId: Integer): Text17-29
FormatDateWithCurrentCulture(DateToFormat: Date): Text17-29
GetHMSFromTime(var Hour: Integer; var Minute: Integer; var Second: Integer; TimeSource: Time)17-29
IsLeapYear(Date: Date): Boolean17-29
GetOptionNo(Value: Text; OptionString: Text): Integer17-29
GetOptionNoFromTableField(Value: Text; TableNo: Integer; FieldNo: Integer): Integer17-29
GetNumberOfOptions(OptionString: Text): Integer17-29
OptionsAreEqual(Value: Text; CurrentOption: Text): Boolean17-29
IsNumeric(Text: Text): Boolean17-29
GetField(TableNo: Integer; FieldNo: Integer; var Field: Record Field): Boolean17-29
GetFieldLength(TableNo: Integer; FieldNo: Integer): Integer17-29
TestFieldIsNotObsolete(Field: Record Field)17-29
IsPhoneNumber(Input: Text): Boolean17-29
GetUserTimezoneOffset(var Duration: Duration): Boolean17-29
GetUserClientTypeOffset(var Duration: Duration)17-29
GetTimezoneOffset(var Duration: Duration; TimeZoneID: Text)17-29
EvaluateUnixTimestamp(Timestamp: BigInteger): DateTime17-29
EvaluateUTCDateTime(DateTimeText: Text): DateTime17-29
FormatDateTime(FormattingDateTime: DateTime; Format: Text; CultureName: Text): Text17-29
FormatUtcDateTime(DateTime: DateTime; DataFormat: Text; DataFormattingCulture: Text): Text17-29
GetCurrUTCDateTime(): DateTime17-29
GetCurrUTCDateTimeAsText(): Text17-29
AddHoursToDateTime(SourceDateTime: DateTime; NoOfHours: Integer): DateTime17-29
FormatDecimal(Decimal: Decimal; DataFormat: Text; DataFormattingCulture: Text): Text17-29
UrlEncode(var Value: Text): Text17-29
UrlDecode(var Value: Text): Text17-29
HtmlEncode(var Value: Text): Text17-29
HtmlDecode(var Value: Text): Text17-29
UriEscapeDataString(Value: Text): Text17-29
UriGetAuthority(Value: Text): Text17-29
GetKeyAsString(RecordVariant: Variant; KeyIndex: Integer): Text17-29
ReadAsTextWithSeparator(InStream: InStream; LineSeparator: Text): Text17-29
CRLFSeparator(): Text[2]17-29
LFSeparator(): Text[1]17-29
SortRecordRef(var RecRef: RecordRef; CommaSeparatedFieldsToSort: Text; Ascending: Boolean)17-29
TextDistance(Text1: Text; Text2: Text): Integer17-29
NewLine(): Text17-29
GetMaxNumberOfParametersInSQLQuery(): Integer17-29
BitwiseAnd(A: Integer; B: Integer): Integer17-29
BitwiseOr(A: Integer; B: Integer): Integer17-29
BitwiseXor(A: Integer; B: Integer): Integer17-29
GetFormattedCurrentDateTimeInUserTimeZone(StringFormat: Text): Text17-29
GetCurrentDateTimeInUserTimeZone(): DateTime17-29
ConvertDateTimeFromUTCToTimeZone(InputDateTime: DateTime; TimeZoneTxt: Text): DateTime17-29
IntToHex(IntValue: Integer): Text17-29
Maximum(Value1: Decimal; Value2: Decimal): Decimal17-29
Minimum(Value1: Decimal; Value2: Decimal): Decimal17-29
TransferFieldsWithValidate(var TempFieldBuffer: Record "Field Buffer" temporary; RecordVariant: Variant; var TargetTableRecRef: RecordRef)17-29
CalculateLog(Number: Decimal): Decimal17-29
GetAmountFormatLCYWithUserLocale(): Text17-29
GetAmountFormatWithUserLocale(CurrencySymbol: Text[10]): Text17-29
GetAmountFormat(LocaleId: Integer; CurrencySymbol: Text[10]): Text17-29
GetXMLAmountFormatWithTwoDecimalPlaces(): Text17-29
GetXMLDateFormat(): Text17-29
TryReadAsTextWithSeparator(InStream: InStream; LineSeparator: Text; var Content: Text): Boolean17-29
GetCurrUTCDateTimeISO8601(): Textnew in 19
CopyRecVariantToRecRef(RecordVariant: Variant; var RecRef: RecordRef)new in 19
IsDigit(ch: Char): Booleannew in 20
IsUpper(ch: Char): Booleannew in 20
TryReadAsTextWithSepAndFieldErrMsg(InStream: InStream; LineSeparator: Text; FieldCaption: Text): Textnew in 21
internal GetDefaultAmountFormat(): Textnew in 22
FormatDate(DateToFormat: Date; Format: Text; CultureName: Text): Textnew in 22
GetInputDateTimeInUserTimeZone(InputDateTime: DateTime): DateTimenew in 24
ConvertDateTimeFromInputTimeZoneToClientTimezone(InputDateTime: DateTime; TimeZoneTxt: Text): DateTimenew in 24
GetAmountFormatLCYWithUserLocale(DecimalPlaces: Integer): Textnew in 25
GetAmountFormatWithUserLocale(CurrencySymbol: Text[10]; DecimalPlaces: Integer): Textnew in 25
GetAmountFormat(LocaleId: Integer; CurrencySymbol: Text[10]; DecimalPlaces: Integer): Textnew in 25
GetAmountFormatDecimalPlaces(LocaleId: Integer; CurrencySymbol: Text[10]; DecimalPlaces: Integer): Textnew in 25
internal GetDefaultAmountFormat(DecimalPlaces: Integer): Textnew in 25
UrlEncodeSecret(var Value: Text): Textnew in 26
Pending, tag 27.0, obsolete since 26.4: Use UrlEncode with secret text.
JavaScriptStringEncode(Value: Text): Textnew in 26
JavaScriptStringEncode(Value: Text; AddDoubleQuotes: Boolean): Textnew in 26
UrlEncode(var Value: SecretText): SecretTextnew in 26
IsLatinLetter(ch: Char): Booleannew in 26