Page 9377 Analysis Report Inventory

Base Application, Microsoft.Inventory.Analysis

src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisReportInventory.Page.al91 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.Inventory.Analysis;page 9377 "Analysis Report Inventory"{    ApplicationArea = InventoryAnalysis;    Caption = 'Inventory Analysis Reports';    PageType = List;    SourceTable = "Analysis Report Name";    SourceTableView = where("Analysis Area" = const(Inventory));    UsageCategory = ReportsAndAnalysis;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field(Name; Rec.Name)                {                    ApplicationArea = InventoryAnalysis;                }                field(Description; Rec.Description)                {                    ApplicationArea = InventoryAnalysis;                }                field("Analysis Line Template Name"; Rec."Analysis Line Template Name")                {                    ApplicationArea = InventoryAnalysis;                }                field("Analysis Column Template Name"; Rec."Analysis Column Template Name")                {                    ApplicationArea = InventoryAnalysis;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(processing)        {            action(EditAnalysisReport)            {                ApplicationArea = InventoryAnalysis;                Caption = 'Edit Analysis Report';                Image = Edit;                ShortCutKey = 'Return';                ToolTip = 'Edit the settings for the analysis report such as the name or period.';                trigger OnAction()                var                    InventoryAnalysisReport: Page "Inventory Analysis Report";                begin                    InventoryAnalysisReport.SetReportName(Rec.Name);                    InventoryAnalysisReport.Run();                end;            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Process';                actionref(EditAnalysisReport_Promoted; EditAnalysisReport)                {                }            }        }    }}