Page 37031 PowerBI Bin Contents
src/Apps/W1/PowerBIReports/App/Inventory/Embedded/Inventory/PowerBIBinContents.Page.al56 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.PowerBIReports;using System.Integration.PowerBI;page 37031 "PowerBI Bin Contents"{ UsageCategory = ReportsAndAnalysis; ApplicationArea = All; PageType = UserControlHost; Caption = 'Bin Contents (Power BI)'; AboutTitle = 'About Bin Contents (Power BI)'; AboutText = 'The Bin Contents report provides a detailed view of item quantities by bin code and location. It includes additional information such as warehouse quantity, pick and put-away quantities, and both negative and positive adjustments, offering a comprehensive overview of bin movements and inventory management within the warehouse.'; 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 'ReportSection12b3ff23621e20c1398d', Locked = true; trigger OnOpenPage() begin ReportId := SetupHelper.OpenPowerBIEmbeddedReportPageValidation("PBI Report Setup"::"Inventory App"); end;}