Page 433 Reminder Text, source in 29

Source29

src/Layers/W1/BaseApp/Sales/Reminder/ReminderText.Page.al81 lines, Copyright (c) Microsoft Corporation. MIT

#if not CLEAN29
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.Sales.Reminder;

/// <summary>
/// Manages the beginning and ending text lines displayed on reminder documents by level.
/// </summary>
page 433 "Reminder Text"
{
    AutoSplitKey = true;
    Caption = 'Reminder Text';
    DataCaptionExpression = PageCaptionVariable;
    DelayedInsert = true;
    MultipleNewLines = true;
    PageType = List;
    SaveValues = true;
    SourceTable = "Reminder Text";
    ObsoleteState = Pending;
    ObsoleteReason = 'Use page 835 "Reminder Level Communication" instead.';
    ObsoleteTag = '29.0';

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field("Reminder Terms Code"; Rec."Reminder Terms Code")
                {
                    ApplicationArea = Basic, Suite;
                    Visible = false;
                }
                field("Reminder Level"; Rec."Reminder Level")
                {
                    ApplicationArea = Basic, Suite;
                    Visible = false;
                }
                field(Position; Rec.Position)
                {
                    ApplicationArea = Basic, Suite;
                    Visible = false;
                }
                field(Text; Rec.Text)
                {
                    ApplicationArea = Basic, Suite;
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
    }

    trigger OnOpenPage()
    begin
        PageCaptionVariable := Rec."Reminder Terms Code" + ' ' + Format(Rec."Reminder Level") + ' ' + Format(Rec.Position);
    end;

    var
        PageCaptionVariable: Text[250];
}
#endif