Codeunit 10 Type Helper

Base Application, System.Reflection

Source AL, 1,041 lines

src/Layers/W1/BaseApp/System/Utilities/TypeHelper.Codeunit.allines 12 to 27 of 1,041, Copyright (c) Microsoft Corporation. MIT

codeunit 10 "Type Helper"{    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Field" = r;    trigger OnRun()    begin    end;    var        UnsupportedTypeErr: Label 'The Type is not supported by the Evaluate function.';        KeyDoesNotExistErr: Label 'The requested key does not exist.';        InvalidMonthErr: Label 'An invalid month was specified.';        StringTooLongErr: Label 'This function only allows strings of length up to %1.', Comment = '%1=a number, e.g. 1024';

All 1,041 lines

Events 2 in 29

[IntegrationEvent] OnBeforeGetFieldLength(var Field: Record Field; var FieldLength: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeGetField(TableNo: Integer; FieldNo: Integer; var Field: Record Field; var Result: Boolean; var IsHandled: Boolean)new in 18

Public procedures 75 in 29

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

All 80 procedures in 17-29

Changes 2 in 29

List17181920212223242526272829
Procedures22123572
Events1
LanguageIDToCultureName(LanguageID: Integer): Textgone after 28
gone
GetCultureName(): Textgone after 28
gone

All 25 changes in 17-29