Report 155 Statement of Cashflows

Base Application, Microsoft.Finance.FinancialReports

src/Layers/W1/BaseApp/Finance/FinancialReports/StatementofCashflows.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 cash flow statement report using predefined account schedule templates./// Produces formatted statement showing operating, investing, and financing cash flows./// </summary>/// <remarks>/// Template-driven cash flow statement using standard account schedule configuration./// Processes cash-related transactions through account schedule engine for standardized/// cash flow presentation. Supports period-based analysis and cash flow categorization./// </remarks>report 155 "Statement of Cashflows"{    AccessByPermission = TableData "G/L Account" = R;    ApplicationArea = Basic, Suite;    Caption = 'Statement of Cashflows';    ProcessingOnly = true;    UsageCategory = ReportsAndAnalysis;    UseRequestPage = false;    dataset    {    }    requestpage    {        AboutTitle = 'About Statement of Cashflows';        AboutText = 'The **Statement of Cashflows** 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 Cash Flow Stmt");    end;}