Report 154 Income Statement

Base Application, Microsoft.Finance.FinancialReports

src/Layers/W1/BaseApp/Finance/FinancialReports/IncomeStatement.Report.al60 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.Finance.FinancialReports;using Microsoft.Finance.GeneralLedger.Account;using Microsoft.Finance.GeneralLedger.Setup;/// <summary>/// Generates standard income statement report using predefined account schedule templates./// Produces formatted profit and loss statement showing revenues, expenses, and net income./// </summary>/// <remarks>/// Template-driven income statement report using standard account schedule configuration./// Processes general ledger transactions through account schedule engine for standardized/// profit and loss presentation. Supports period-based analysis and comparative reporting./// </remarks>report 154 "Income Statement"{    AccessByPermission = TableData "G/L Account" = R;    ApplicationArea = Basic, Suite;    Caption = 'Income Statement';    ProcessingOnly = true;    UsageCategory = ReportsAndAnalysis;    UseRequestPage = false;    dataset    {    }    requestpage    {        AboutTitle = 'About Income Statement';        AboutText = 'The **Income Statement** report is a key finance report with data and layout based on a financial report definition. You can change the financial report definition used for the report on the *General Ledger Setup* page under the *Reporting* section.';        layout        {        }        actions        {        }    }    labels    {    }    trigger OnInitReport()    var        GeneralLedgerSetup: Record "General Ledger Setup";        GLAccountCategoryMgt: Codeunit "G/L Account Category Mgt.";    begin        GLAccountCategoryMgt.GetGLSetup(GeneralLedgerSetup);        GLAccountCategoryMgt.RunAccountScheduleReport(GeneralLedgerSetup."Fin. Rep. for Income Stmt.");    end;}