Page 9372 Analysis View List Inventory
src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisViewListInventory.Page.al135 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 9372 "Analysis View List Inventory"{ ApplicationArea = Dimensions, InventoryAnalysis; Caption = 'Inventory Analysis Views'; CardPageID = "Invt. Analysis View Card"; DataCaptionFields = "Analysis Area"; Editable = false; PageType = List; SourceTable = "Item Analysis View"; SourceTableView = where("Analysis Area" = const(Inventory)); UsageCategory = ReportsAndAnalysis; layout { area(content) { repeater(Control1) { ShowCaption = false; field("Code"; Rec.Code) { ApplicationArea = InventoryAnalysis; } field(Name; Rec.Name) { ApplicationArea = InventoryAnalysis; } field("Include Budgets"; Rec."Include Budgets") { ApplicationArea = ItemBudget; } field("Last Date Updated"; Rec."Last Date Updated") { ApplicationArea = InventoryAnalysis; Editable = false; } field("Dimension 1 Code"; Rec."Dimension 1 Code") { ApplicationArea = Dimensions; } field("Dimension 2 Code"; Rec."Dimension 2 Code") { ApplicationArea = Dimensions; } field("Dimension 3 Code"; Rec."Dimension 3 Code") { ApplicationArea = Dimensions; } } } area(factboxes) { systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = false; } } } actions { area(navigation) { group("&Analysis") { Caption = '&Analysis'; Image = AnalysisView; action("Filter") { ApplicationArea = InventoryAnalysis; Caption = 'Filter'; Image = "Filter"; RunObject = Page "Item Analysis View Filter"; RunPageLink = "Analysis Area" = field("Analysis Area"), "Analysis View Code" = field(Code); ToolTip = 'Apply the filter.'; } } } area(processing) { action(EditAnalysisView) { ApplicationArea = InventoryAnalysis; Caption = 'Edit Analysis View'; Image = Edit; ToolTip = 'Edit the settings for the analysis view such as a column or line.'; trigger OnAction() var InvtAnalysisbyDim: Page "Invt. Analysis by Dimensions"; begin InvtAnalysisbyDim.SetCurrentAnalysisViewCode(Rec.Code); InvtAnalysisbyDim.Run(); end; } action("&Update") { ApplicationArea = InventoryAnalysis; Caption = '&Update'; Image = Refresh; RunObject = Codeunit "Update Item Analysis View"; ToolTip = 'Get the latest entries into the analysis view.'; } } area(Promoted) { group(Category_Process) { Caption = 'Process'; actionref(EditAnalysisView_Promoted; EditAnalysisView) { } actionref("&Update_Promoted"; "&Update") { } } } }}