Page 5637 FA Reclass. Journal Templates, source in 29

Source29

src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAReclassJournalTemplates.Page.al93 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.FixedAssets.Journal;

page 5637 "FA Reclass. Journal Templates"
{
    ApplicationArea = FixedAssets;
    Caption = 'Fixed Asset Reclassification Journal Templates';
    DelayedInsert = true;
    PageType = List;
    SourceTable = "FA Reclass. Journal Template";
    UsageCategory = Administration;
    AboutTitle = 'About Fixed Asset Reclassification Journal Templates';
    AboutText = 'With the FA Reclass Journal Templates, you can create new templates, review created templates, define batches that will be used in the FA Reclass Journal.';

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field(Name; Rec.Name)
                {
                    ApplicationArea = FixedAssets;
                }
                field(Description; Rec.Description)
                {
                    ApplicationArea = FixedAssets;
                }
                field("Page ID"; Rec."Page ID")
                {
                    ApplicationArea = FixedAssets;
                    Visible = false;
                }
                field("Page Caption"; Rec."Page Caption")
                {
                    ApplicationArea = FixedAssets;
                    DrillDown = false;
                    Visible = false;
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
        area(navigation)
        {
            group("Te&mplate")
            {
                Caption = 'Te&mplate';
                Image = Template;
                action(Batches)
                {
                    ApplicationArea = FixedAssets;
                    Caption = 'Batches';
                    Image = Description;
                    RunObject = Page "FA Reclass. Journal Batches";
                    RunPageLink = "Journal Template Name" = field(Name);
                    AboutTitle = 'Manage Batches';
                    AboutText = 'Specify or review the batches that you have added against an FA ReclassJnl Template.';
                    ToolTip = 'View or edit multiple journals for a specific template. You can use batches when you need multiple journals of a certain type.';
                    Scope = Repeater;
                }
            }
        }
        area(Promoted)
        {
            actionref("Batches_Promoted"; Batches)
            {

            }
        }
    }
}