Page 37041 Historical Utilization
src/Apps/W1/PowerBIReports/App/_Obsolete/Manufacturing/Embedded/HistoricalUtilization.Page.al60 lines, Copyright (c) Microsoft Corporation. MIT
#if not CLEAN26// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.PowerBIReports;using System.Integration.PowerBI;page 37041 "Historical Utilization"{ UsageCategory = ReportsAndAnalysis; ApplicationArea = Manufacturing; PageType = UserControlHost; Caption = 'Historical Utilization'; AboutTitle = 'About Historical Utilization'; AboutText = 'View the historical Utilization % by comparing Capacity Used vs. Available Capacity in Hours viewed over a timeline you can define to see trends. View all or some Work Centers.'; ObsoleteState = Pending; ObsoleteReason = 'The Power BI report has been changed/removed and this is no longer required.'; ObsoleteTag = '26.0'; layout { area(Content) { usercontrol(PowerBIAddin; PowerBIManagement) { ApplicationArea = All; trigger ControlAddInReady() begin SetupHelper.InitializeEmbeddedAddin(CurrPage.PowerBIAddin, ReportId, ReportPageLbl); end; trigger ReportLoaded(ReportFilters: Text; ActivePageName: Text; ActivePageFilters: Text; CorrelationId: Text) begin SetupHelper.LogReportLoaded(CorrelationId); end; trigger ErrorOccurred(Operation: Text; ErrorText: Text) begin SetupHelper.LogError(Operation, ErrorText); SetupHelper.ShowPowerBIErrorNotification(Operation, ErrorText); end; } } } var SetupHelper: Codeunit "Power BI Report Setup"; ReportId: Guid; ReportPageLbl: Label 'ReportSectionf9d212728e1d71a00044', Locked = true; trigger OnOpenPage() begin ReportId := SetupHelper.OpenPowerBIEmbeddedReportPageValidation("PBI Report Setup"::"Manufacturing App"); end;}#endif