Codeunit 573 Run Acc. Sched. Income Stmt.
src/Layers/W1/BaseApp/Finance/FinancialReports/RunAccSchedIncomeStmt.Codeunit.al32 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>/// Executes the income statement financial report based on general ledger setup configuration./// Provides standardized access to the system-configured income statement report template./// </summary>/// <remarks>/// Retrieves the income statement financial report from general ledger setup and executes it/// using the G/L Account Category Management functionality. Ensures consistent income statement/// reporting across the application with centralized template management./// </remarks>codeunit 573 "Run Acc. Sched. Income Stmt."{ trigger OnRun() 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;}