Codeunit 572 Run Acc. Sched. Balance Sheet
src/Layers/W1/BaseApp/Finance/FinancialReports/RunAccSchedBalanceSheet.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 balance sheet financial report based on general ledger setup configuration./// Provides standardized access to the system-configured balance sheet report template./// </summary>/// <remarks>/// Retrieves the balance sheet financial report from general ledger setup and executes it/// using the G/L Account Category Management functionality. Ensures consistent balance sheet/// reporting across the application with centralized template management./// </remarks>codeunit 572 "Run Acc. Sched. Balance Sheet"{ 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 Balance Sheet"); end;}