Page 37040 Current Utilization

PowerBI Reports, Microsoft.PowerBIReports

src/Apps/W1/PowerBIReports/App/_Obsolete/Manufacturing/Embedded/CurrentUtilization.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 37040 "Current Utilization"{    UsageCategory = ReportsAndAnalysis;    ApplicationArea = Manufacturing;    PageType = UserControlHost;    Caption = 'Current Utilization';    AboutTitle = 'About Current Utilization';    AboutText = 'View the current Weeks Utilization % by comparing Capacity Used to Available Capacity in Hours. View all or some Work Centers to measure throughput and efficiency.';    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 'ReportSection1cb4eb25650060b6dbd0', Locked = true;    trigger OnOpenPage()    begin        ReportId := SetupHelper.OpenPowerBIEmbeddedReportPageValidation("PBI Report Setup"::"Manufacturing App");    end;}#endif