Codeunit 42 Caption Class

System Application, System.Text

Source AL, 45 lines

src/System Application/App/Caption Class/src/CaptionClass.Codeunit.allines 11 to 26 of 45, Copyright (c) Microsoft Corporation. MIT

codeunit 42 "Caption Class"{    Access = Public;    SingleInstance = true;    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Integration event for resolving CaptionClass expression, split into CaptionArea and CaptionExpr.    /// Note there should be a single subscriber per caption area.    /// The event implements the "resolved" pattern - if a subscriber resolves the caption, it should set Resolved to TRUE.    /// </summary>    /// <param name="CaptionArea">The caption area used in the CaptionClass expression. Should be unique for every subscriber.</param>    /// <param name="CaptionExpr">The caption expression used for resolving the CaptionClass expression.</param>    /// <param name="Language">The current language ID that can be used for resolving the CaptionClass expression.</param>    /// <param name="Caption">Exit parameter - the resolved caption</param>

All 45 lines

Events 2 in 29

[IntegrationEvent] OnResolveCaptionClass(CaptionArea: Text; CaptionExpr: Text; Language: Integer; var Caption: Text; var Resolved: Boolean)17-29
[IntegrationEvent] OnAfterCaptionClassResolve(Language: Integer; CaptionExpression: Text; var Caption: Text[1024])17-29