Codeunit 1470 Headlines Impl.

System Application, System.Visualization

Source AL, 158 lines

src/System Application/App/Headlines/src/HeadlinesImpl.Codeunit.allines 12 to 27 of 158, Copyright (c) Microsoft Corporation. MIT

codeunit 1470 "Headlines Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata User = r;    var        MorningGreetingWithUsernameTxt: Label 'Good morning, %1!', Comment = 'Displayed between 00:00 and 10:59. %1 is the user name.';        NoonGreetingWithUsernameTxt: Label 'Hi, %1!', Comment = 'Displayed between 11:00 and 13:59. %1 is the user name.';        AfternoonGreetingWithUsernameTxt: Label 'Good afternoon, %1!', Comment = 'Displayed between 14:00 and 18:59. %1 is the user name.';        EveningGreetingWithUsernameTxt: Label 'Good evening, %1!', Comment = 'Displayed between 19:00 and 23:59. %1 is the user name.';        MorningGreetingWithoutUsernameTxt: Label 'Good morning!', Comment = 'Displayed between 00:00 and 10:59.';        NoonGreetingWithoutUsernameTxt: Label 'Hi!', Comment = 'Displayed between 11:00 and 13:59.';        AfternoonGreetingWithoutUsernameTxt: Label 'Good afternoon!', Comment = 'Displayed between 14:00 and 18:59.';

All 158 lines

Public procedures 8 in 29

Truncate(TextToTruncate: Text; MaxLength: Integer): Text17-29
Emphasize(TextToEmphasize: Text): Text17-29
GetHeadlineText(Qualifier: Text; Payload: Text; var ResultText: Text): Boolean17-29
GetUserGreetingText(): Text17-29
GetUserGreetingTextInternal(UserName: Text[80]; CurrentTimeOfDay: Time): Text17-29
ShouldUserGreetingBeVisible(): Boolean17-29

All 8 procedures