From d53e4a7172a44a5dc3a8f821899e8e5b8d8c363f Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 13:55:22 +1100 Subject: [PATCH 01/12] Increased InternalDescription parameter to Text[500] --- .../DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al index 53238064c0..8ac3411e7e 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al @@ -266,7 +266,7 @@ codeunit 5239 "Contoso Account Schedule" InsertFinancialReport(Name, Description, FinancialReportRowGrp, FinancialReportColumnGrp, ''); end; - procedure InsertFinancialReport(Name: Code[10]; Description: Text[80]; FinancialReportRowGrp: Code[10]; FinancialReportColumnGrp: Code[10]; InternalDescription: Text[250]) + procedure InsertFinancialReport(Name: Code[10]; Description: Text[80]; FinancialReportRowGrp: Code[10]; FinancialReportColumnGrp: Code[10]; InternalDescription: Text[500]) var FinancialReport: Record "Financial Report"; Exists: Boolean; From 601b6710bc5ac669fd173a4043d8782d3e35929f Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 13:57:22 +1100 Subject: [PATCH 02/12] Updated internal description for financial reports --- .../CreateFinancialReport.Codeunit.al | 69 +++++++++++-------- 1 file changed, 40 insertions(+), 29 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al index 497ac98943..6dc1ff195e 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al @@ -18,16 +18,16 @@ codeunit 5425 "Create Financial Report" ContosoAccountSchedule: Codeunit "Contoso Account Schedule"; AccountScheduleName: Codeunit "Create Acc. Schedule Name"; begin - ContosoAccountSchedule.InsertFinancialReport(AccountCategoriesOverview(), AccountCategoriesOverviewLbl, AccountScheduleName.AccountCategoriesOverview(), ColumnLayoutName.PeriodsDefinition()); - ContosoAccountSchedule.InsertFinancialReport(CapitalStructure(), CapitalStructureLbl, AccountScheduleName.CapitalStructure(), ColumnLayoutName.BalanceOnly()); - ContosoAccountSchedule.InsertFinancialReport(CalculationOfCashFlow(), CalculationOfCashFlowLbl, AccountScheduleName.CashFlowCalculation(), ColumnLayoutName.CashFlowComparison()); - ContosoAccountSchedule.InsertFinancialReport(Revenues(), RevenuesLbl, AccountScheduleName.Revenues(), ColumnLayoutName.BudgetAnalysis()); - - ContosoAccountSchedule.InsertFinancialReport(BalanceSheetDetailed(), BalanceSheetDetailedLbl, AccountScheduleName.BalanceSheetDetailed(), ColumnLayoutName.BalanceSheetTrend()); - ContosoAccountSchedule.InsertFinancialReport(BalanceSheetSummarized(), BalanceSheetSummarizedLbl, AccountScheduleName.BalanceSheetSummarized(), ColumnLayoutName.BalanceSheetTrend()); - ContosoAccountSchedule.InsertFinancialReport(IncomeStatementDetailed(), IncomeStatementDetailedLbl, AccountScheduleName.IncomeStatementDetailed(), ColumnLayoutName.IncomeStatementTrend()); - ContosoAccountSchedule.InsertFinancialReport(IncomeStatementSummarized(), IncomeStatementSummarizedLbl, AccountScheduleName.IncomeStatementSummarized(), ColumnLayoutName.IncomeStatementTrend()); - ContosoAccountSchedule.InsertFinancialReport(TrialBalance(), TrialBalanceLbl, AccountScheduleName.TrialBalance(), ColumnLayoutName.BeginningBalanceDebitsCreditsEndingBalance()); + ContosoAccountSchedule.InsertFinancialReport(AccountCategoriesOverview(), AccountCategoriesOverviewLbl, AccountScheduleName.AccountCategoriesOverview(), ColumnLayoutName.PeriodsDefinition(), AccCatInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(CapitalStructure(), CapitalStructureLbl, AccountScheduleName.CapitalStructure(), ColumnLayoutName.BalanceOnly(), CapitalStructureLblInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(CalculationOfCashFlow(), CalculationOfCashFlowLbl, AccountScheduleName.CashFlowCalculation(), ColumnLayoutName.CashFlowComparison(), CalculationOfCashFlowInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(Revenues(), RevenuesLbl, AccountScheduleName.Revenues(), ColumnLayoutName.BudgetAnalysis(), RevenuesInternalDescriptionLbl); + + ContosoAccountSchedule.InsertFinancialReport(BalanceSheetDetailed(), BalanceSheetDetailedLbl, AccountScheduleName.BalanceSheetDetailed(), ColumnLayoutName.BalanceSheetTrend(), BalanceSheetDetailedInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(BalanceSheetSummarized(), BalanceSheetSummarizedLbl, AccountScheduleName.BalanceSheetSummarized(), ColumnLayoutName.BalanceSheetTrend(), BalanceSheetSummarizedInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(IncomeStatementDetailed(), IncomeStatementDetailedLbl, AccountScheduleName.IncomeStatementDetailed(), ColumnLayoutName.IncomeStatementTrend(), IncomeStatementDetailedInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(IncomeStatementSummarized(), IncomeStatementSummarizedLbl, AccountScheduleName.IncomeStatementSummarized(), ColumnLayoutName.IncomeStatementTrend(), IncomeStatementSummarizedInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(TrialBalance(), TrialBalanceLbl, AccountScheduleName.TrialBalance(), ColumnLayoutName.BeginningBalanceDebitsCreditsEndingBalance(), TrialBalanceInternalDescriptionLbl); end; internal procedure CreateSetupFinancialReport() @@ -108,34 +108,45 @@ codeunit 5425 "Create Financial Report" end; var + AccCatInternalDescriptionLbl: Label 'Organizes balance sheet and income statement categories into structured rows with calculated totals like net income, combined with columns showing net changes for the current and two prior periods. Useful for delivering consolidated financial overviews, short-term trend analysis, dashboards, and comparative reporting to help management monitor fluctuations and make timely, informed decisions.', MaxLength = 500; + AccountCategoriesOverviewInternalLbl: Label '', MaxLength = 500; + AccountCategoriesOverviewLbl: Label 'Account Categories overview', MaxLength = 80; AccountCategoriesOverviewTok: Label 'ACC-CAT', MaxLength = 10; - CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; - CalculationOfCashFlowTok: Label 'CASHFLOW', MaxLength = 10; - DataForCashCycleChartTok: Label 'I_CACYCLE', MaxLength = 10; - DataForCashFlowChartTok: Label 'I_CASHFLOW', MaxLength = 10; - DataForIncomeExpenseChartTok: Label 'I_INCEXP', MaxLength = 10; - DataForReducedTrialBalanceInfoPartTok: Label 'I_MINTRIAL', MaxLength = 10; - RevenuesTok: Label 'REVENUE', MaxLength = 10; + BalanceSheetDetailedInternalDescriptionLbl: Label 'Provides a detailed balance sheet layout with expanded sections for current and long-term assets, liabilities, and equity, including granular account ranges and reconciliation formulas for accuracy. Incorporates twelve columns showing month-end balances for the current fiscal year to reveal trends and seasonal changes. Useful for in-depth financial analysis, audit support, and preparing comprehensive management and compliance reports.', MaxLength = 500; + BalanceSheetDetailedLbl: Label 'Balance Sheet Detailed', MaxLength = 80; BalanceSheetDetailedTok: Label 'BS DET', MaxLength = 10, Comment = 'Balance Sheet Detailed'; + BalanceSheetInternalDescriptionLbl: Label 'Presents a complete balance sheet structure with grouped sections for assets, liabilities, and equity, including formulas for totals like total assets and total liabilities. Shows data with a single-column balance snapshot as of a specific date for accurate figures. Useful for reporting financial position, preparing compliance statements, validating balances, and supporting period-end reconciliations and reviews.', MaxLength = 500; + BalanceSheetSummarizedInternalDescriptionLbl: Label 'Provides a concise balance sheet layout with a row layout summarizing assets, liabilities, and equity, including totals and check-figure formulas for accuracy. Includes twelve columns showing month-end balances for the current fiscal year to highlight trends and seasonal changes. Useful for executive snapshots, quick reconciliation, period-end validation, and monitoring monthly financial position shifts for reporting and compliance.', MaxLength = 500; + BalanceSheetSummarizedLbl: Label 'Balance Sheet Summarized', MaxLength = 80; BalanceSheetSummarizedTok: Label 'BS SUM', MaxLength = 10, Comment = 'Balance Sheet Summarized'; - IncomeStatementDetailedTok: Label 'IS DET', MaxLength = 10, Comment = 'Income Statement Detailed'; - IncomeStatementSummarizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; - TrialBalanceTok: Label 'TB', MaxLength = 10, Comment = 'Trial Balance'; - AccountCategoriesOverviewLbl: Label 'Account Categories overview', MaxLength = 80; - CapitalStructureLbl: Label 'Capital Structure', MaxLength = 80; + CalculationOfCashFlowInternalDescriptionLbl: Label 'Analyzes cash flow analysis, grouping receipts and disbursements by categories like receivables, payables, open orders, investments, and miscellaneous transactions, with formulas for totals, surplus, and overall cash flow using net change for dynamic movements. Includes three columns comparing monthly, cumulative, and annual figures. Useful for liquidity planning, forecasting, trend analysis, and monitoring operational and investment cash positions.', MaxLength = 500; CalculationOfCashFlowLbl: Label 'Calculation Of Cash Flow', MaxLength = 80; + CalculationOfCashFlowTok: Label 'CASHFLOW', MaxLength = 10; + CapitalStructureLbl: Label 'Capital Structure', MaxLength = 80; + CapitalStructureLblInternalDescriptionLbl: Label 'Analyzes liquidity and short-term obligations with a row layout grouping current assets, receivables, inventory, WIP, and short-term liabilities, calculating totals and net positions. Paired with a single-column balance snapshot as of a specific date. Useful for assessing working capital, liquidity ratios, and short-term financial health, supporting compliance, period-end reviews, and management reporting.', MaxLength = 500; + CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; + CashCycleInternalDescriptionLbl: Label 'Calculates key cash cycle metrics, including revenue, receivables, payables, and inventory balances, with formulas for DSO, DPO, DSI, and overall cash cycle in days. Includes three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for assessing working capital efficiency, optimizing payment terms, improving liquidity management, and supporting dashboards and mini charts.', MaxLength = 500; + CashFlowInternalDescriptionLbl: Label 'Summarizes cash flow components, including receivables, payables, and liquid funds, with a formula to calculate total cash flow using balance at date for point-in-time positions. Incorporates three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations.', MaxLength = 500; DataForCashCycleChartLbl: Label 'Data for Cash Cycle Chart', MaxLength = 80; + DataForCashCycleChartTok: Label 'I_CACYCLE', MaxLength = 10; DataForCashFlowChartLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; + DataForCashFlowChartTok: Label 'I_CASHFLOW', MaxLength = 10; DataForIncomeExpenseChartLbl: Label 'Data for Income & Expense Chart', MaxLength = 80; + DataForIncomeExpenseChartTok: Label 'I_INCEXP', MaxLength = 10; DataForReducedTrialBalanceInfoPartLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; - RevenuesLbl: Label 'Revenues', MaxLength = 80; - BalanceSheetDetailedLbl: Label 'Balance Sheet Detailed', MaxLength = 80; - BalanceSheetSummarizedLbl: Label 'Balance Sheet Summarized', MaxLength = 80; + DataForReducedTrialBalanceInfoPartTok: Label 'I_MINTRIAL', MaxLength = 10; + IncExpInternalDescriptionLbl: Label 'Analyzes income and expense components, including revenue, goods sold, external costs, personnel costs, depreciation, and other expenses, with formulas for total expenditure and earnings before interest using net change for accurate period tracking. Incorporates three columns showing net changes for the current and two prior periods. Useful for profitability analysis, expense monitoring, and visual income-versus-cost comparisons for management reporting.', MaxLength = 500; + IncomeStatementDetailedInternalDescriptionLbl: Label 'Provides a detailed multi-section income statement layout, covering revenue categories, cost of goods, and operating expenses with account ranges for materials, labor, overhead, and expense types, plus formulas for gross margin, operating totals, and net income or loss using. Includes thirteen columns showing monthly net changes across the fiscal year with a total column. Useful for financial statement preparation, profitability analysis, trend monitoring, and management reporting.', MaxLength = 500; IncomeStatementDetailedLbl: Label 'Income Statement Detailed', MaxLength = 80; + IncomeStatementDetailedTok: Label 'IS DET', MaxLength = 10, Comment = 'Income Statement Detailed'; + IncomeStatementSummarizedInternalDescriptionLbl: Label 'Summarizes key income statement components, including revenue, cost of goods, and operating expenses, with formulas for gross margin, margin percentage, and net income or loss. Includes thirteen columns showing monthly net changes across the fiscal year plus a total column for cumulative performance. Useful for high-level reporting, management summaries, streamlined financial analysis, and monitoring profitability trends.', MaxLength = 500; IncomeStatementSummarizedLbl: Label 'Income Statement Summarized', MaxLength = 80; + IncomeStatementSummarizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; + ReducedTrialBalInternalDescriptionLbl: Label 'Summarizes nine key trial balance metrics in a structured layout, covering revenue, cost, operating expenses, and other expenses, with formulas for gross margin, operating margin, their percentages, and income before interest and tax. Includes three columns showing net changes for the current and two prior periods. Useful for quick profitability checks, margin analysis, and delivering condensed financial insights for dashboards or info parts.', MaxLength = 500; + RevenuesInternalDescriptionLbl: Label 'Categorizes revenue streams, including product sales, services, job-related income, and other income sources, with totals for retail and area-specific revenues to consolidate reporting. Shows actual net change, budgeted amounts, variance percentage, and prior-year figures for performance comparison. Useful for revenue analysis, tracking budget accuracy, identifying variances, and evaluating year-over-year trends for financial planning.', MaxLength = 500; + RevenuesLbl: Label 'Revenues', MaxLength = 80; + RevenuesTok: Label 'REVENUE', MaxLength = 10; + TrialBalanceInternalDescriptionLbl: Label 'Displays a comprehensive trial balance layout listing all G/L accounts with debit and credit balances, ensuring total debits equal total credits for accuracy. Shows beginning balance, debit and credit movements, and calculated ending balance for reconciliation. Useful for validating ledger integrity, preparing financial statements, reconciling account activity, and supporting audit and compliance processes.', MaxLength = 500; TrialBalanceLbl: Label 'Trial Balance', MaxLength = 80; - CashCycleInternalDescriptionLbl: Label 'Internal report used for providing data for the Cash Cycle chart.', MaxLength = 250; - CashFlowInternalDescriptionLbl: Label 'Internal report used for providing data for the Cash Flow chart.', MaxLength = 250; - IncExpInternalDescriptionLbl: Label 'Internal report used for providing data for the Income & Expense chart.', MaxLength = 250; - ReducedTrialBalInternalDescriptionLbl: Label 'Internal report used for providing data for the Reduced Trial Balance info part.', MaxLength = 250; + TrialBalanceTok: Label 'TB', MaxLength = 10, Comment = 'Trial Balance'; } From 44da9f551ec62acfb7c9ed097ea3f828bc37a5e1 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:34:50 +1100 Subject: [PATCH 03/12] Increased InternalDescription text to 500 characters --- .../DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al index 8ac3411e7e..5eb0ce747a 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al @@ -140,7 +140,7 @@ codeunit 5239 "Contoso Account Schedule" InsertColumnLayoutName(Name, Description, ''); end; - procedure InsertColumnLayoutName(Name: Code[10]; Description: Text[80]; InternalDescription: Text[250]) + procedure InsertColumnLayoutName(Name: Code[10]; Description: Text[80]; InternalDescription: Text[500]) var ColumnLayoutName: Record "Column Layout Name"; Exists: Boolean; From d11dc1fb2fe774f46330439e48ac2244206ea6b3 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:35:05 +1100 Subject: [PATCH 04/12] Updated internal description for column definitions --- .../CreateColumnLayoutName.Codeunit.al | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al index 7625883032..e50ed9c15c 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al @@ -179,23 +179,23 @@ codeunit 5401 "Create Column Layout Name" DefaultLayoutLbl: Label 'Standard Column Layout', MaxLength = 80; KeyCashFlowRatioLbl: Label 'Key Cash Flow Ratio', MaxLength = 80; PeriodsDefinitionLbl: Label 'Periods Definition for Mini Charts', MaxLength = 80; - BalanceSheetInternalDescriptionLbl: Label 'Twelve-column layout showing month-end balances (Jan-Dec) using Balance at Date net amounts. Useful for balance-sheet monthly trend analysis, spotting seasonal patterns, monitoring cash and working capital, and reviewing month-to-month variances.', MaxLength = 250; - IncomeStatementInternalDescriptionLbl: Label 'Thirteen-column layout showing monthly net-change amounts for the current fiscal year with a formula total aggregating the 12 months. Useful for trending monthly performance across the fiscal year and reporting the annual net-change total.', MaxLength = 250; - TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debits, credits, and a formula ending balance (1+2-3). Useful for trial-balance reconciliation, tracking period activity, and validating period-end balances.', MaxLength = 250; - CurrentMonthBalanceInternalDescriptionLbl: Label 'Single-column layout showing Current Month Balance using Balance at Date net amount. Useful for presenting the period-end closing balance on the balance sheet, quick month-end review and reconciliation.', MaxLength = 250; - CurrentMonthBalanceVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing Current Month Balance, Prior Month Balance, and Difference (Current - Prior). Displays month-end net amounts and calculates change; useful for month-over-month balance comparisons, reconciliation, and anomaly detection.', MaxLength = 250; - CurrentMonthBalanceVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing Current Month Balance, Same Month Prior Year Balance, and Difference (Current-Prior). Calculates month-end net amounts and change; useful for year-over-year balance comparisons, trend spotting, and variance analysis.', MaxLength = 250; - CurrentMonthNetChangeInternalDescriptionLbl: Label 'Single-column layout showing Current Month Net Change using Net Change ledger net amounts. Useful for presenting monthly income statement movement, quick profit or loss review, and monitoring month-to-month operating performance.', MaxLength = 250; - CurrentMonthNetChangeBudgetInternalDescriptionLbl: Label 'Thirteen-column layout showing monthly budgeted net changes and a calculated year total using budget entries. Useful for tracking monthly budget performance and aggregating annual totals in financial statements.', MaxLength = 250; - CurrentMonthNetChangeVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing current-month and prior-month net changes with a formula column for the difference. Useful for month-over-month variance analysis and short-term performance reviews.', MaxLength = 250; - CurrentMonthNetChangeVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing current-month and same-month prior-year net changes with a formula column for the difference. Useful for year-over-year variance analysis and comparing seasonal performance.', MaxLength = 250; - CurrentMonthVPriorMonthCYInternalDescriptionLbl: Label 'Seven-column layout: CY current-month and prior-month net change plus formula variance, and PY current-month vs. same-month prior-year plus formula variance. Useful for month-over-month and year-over-year analysis.', MaxLength = 250; - CurrentMonthVBudgetYearToDateInternalDescriptionLbl: Label 'Ten-column layout comparing current-month actual vs. budget and YTD actual vs. budget with variance columns, plus total planned budget and calculated remaining budget. Useful for monitoring monthly and YTD budget performance.', MaxLength = 250; - ActualBudgetComparisonInternalDescriptionLbl: Label 'Four-column layout showing Net Change (Actual), Budget Net Change, Variance (A-B), and Percent (A/Bx100). Calculates ledger and budget amounts plus formulas; useful for actual vs. budget comparisons, variance and percentage analysis.', MaxLength = 250; - BalanceOnlyInternalDescriptionLbl: Label 'Single-column balance-at-date showing ledger net amount. Useful for point-in-time account balances, statement of financial position, reconciliations, cash position snapshots, and concise balance reporting.', MaxLength = 250; - BudgetAnalysisInternalDescriptionLbl: Label 'Three-column layout showing Net Change (actual), Budget Net Change, and Variance% calculated as 100*(N/B-1). Compares actuals to budget and highlights percent variance for budget performance, analysis, and forecasting.', MaxLength = 250; - CashFlowComparisonInternalDescriptionLbl: Label 'Three-column layout showing current-period net change, balance-at-date year-to-date, and entire fiscal-year totals using ledger net amounts. Useful for month vs. YTD vs. full-year comparisons and variance/trend analysis.', MaxLength = 250; - DefaultLayoutInternalDescriptionLbl: Label 'Four-column layout showing net change and balance-at-date split into debit and credit columns using ledger net amounts with conditional display for positive/negative values. Useful for clear debit/credit breakdowns and period balances.', MaxLength = 250; - KeyCashFlowRatioInternalDescriptionLbl: Label 'Single-column layout showing a balance-at-date key figure using ledger net amounts. Useful for point-in-time cash position, liquidity and cash-flow ratio calculations, and summarizing cash-related balances in financial reports.', MaxLength = 250; - PeriodsDefinitionInternalDescriptionLbl: Label 'Three-column layout showing net change for current period and two prior periods. Useful for mini charts and small trend charts to display short-term trends, quick period-over-period comparisons, and compact visual performance cues.', MaxLength = 250; + BalanceSheetInternalDescriptionLbl: Label 'Twelve-column layout showing month-end balances for each month of the current fiscal year using balance at date and net amount from ledger entries. This layout enables trend analysis across all months, helping identify seasonal fluctuations and financial position changes. Useful for monitoring monthly balance trends, supporting balance sheet reporting, and year-end reviews.', MaxLength = 500; + IncomeStatementInternalDescriptionLbl: Label 'Thirteen-column layout displaying monthly net changes for each month of the current fiscal year plus a total column calculated using formulas and ledger entries. This structure provides a detailed view of income statement activity across all periods, enabling trend analysis and cumulative performance tracking. Useful for monitoring monthly revenue and expense movements, identifying seasonal patterns, and supporting financial planning, forecasting, and management reporting.', MaxLength = 500; + TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debits, credits, and a formula ending balance (1+2-3). Useful for trial-balance reconciliation, tracking period activity, and validating period-end balances.', MaxLength = 500; + CurrentMonthBalanceInternalDescriptionLbl: Label 'Three-column layout showing current month balance, prior month balance, and the calculated difference using balance at date and net amount from ledger entries. this layout helps identify month-over-month changes and trends. Useful for variance analysis, monitoring short-term financial movements, and supporting management decisions based on recent performance comparisons.', MaxLength = 500; + CurrentMonthBalanceVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing Current Month Balance, Prior Month Balance, and Difference (Current - Prior). Displays month-end net amounts and calculates change; useful for month-over-month balance comparisons, reconciliation, and anomaly detection.', MaxLength = 500; + CurrentMonthBalanceVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing current month balance, same month prior year balance, and the calculated difference using balance at date and net amount from ledger entries. This layout enables year-over-year comparisons to identify seasonal trends and performance shifts. Useful for variance analysis, strategic planning, and evaluating financial consistency across fiscal periods.', MaxLength = 500; + CurrentMonthNetChangeInternalDescriptionLbl: Label 'Single-column layout showing the current month''s net change using net change and net amount from ledger entries. This layout provides insight into income statement activity for the period. Useful for tracking monthly performance, analyzing revenue and expense fluctuations, and supporting short-term financial decision-making with accurate and timely data.', MaxLength = 500; + CurrentMonthNetChangeBudgetInternalDescriptionLbl: Label 'Thirteen-column layout showing monthly budgeted net changes for all 12 months plus a total column using formulas and budget entries. This structure supports comprehensive budget tracking and trend analysis across the fiscal year. Useful for monitoring planned income statement activity, evaluating budget adherence, and supporting financial planning and forecasting processes.', MaxLength = 500; + CurrentMonthNetChangeVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing current month net change, prior month net change, and the calculated difference using net change and net amount from ledger entries. This layout helps identify short-term trends and performance shifts. Useful for variance analysis, monitoring income statement movements, and supporting management decisions based on recent financial activity comparisons.', MaxLength = 500; + CurrentMonthNetChangeVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing current month net change, same month prior year net change, and the calculated difference using net change and net amount from ledger entries. This layout enables year-over-year comparisons to identify seasonal trends and performance changes. Useful for variance analysis, strategic planning, and evaluating financial consistency across fiscal periods.', MaxLength = 500; + CurrentMonthVPriorMonthCYInternalDescriptionLbl: Label 'Seven-column layout showing current month and prior month net changes with calculated difference for the current year, plus same month prior year comparison and its difference using net change and formulas. Useful for analyzing month-over-month and year-over-year income statement trends, identifying performance shifts, and supporting variance analysis for management reporting.', MaxLength = 500; + CurrentMonthVBudgetYearToDateInternalDescriptionLbl: Label 'Ten-column layout showing current month actual and budget amounts with variance, year-to-date actual and budget with variance, plus total budget and remaining budget using ledger and budget entries with formulas. Useful for monitoring actual vs budget performance, tracking cumulative results, and managing budget utilization throughout the fiscal year for better financial control.', MaxLength = 500; + ActualBudgetComparisonInternalDescriptionLbl: Label 'Four-column layout comparing actual net change, budgeted amounts, and variance using formulas for difference and percentage. Positive and negative variances are clearly calculated to highlight performance gaps. Useful for monitoring budget adherence, analyzing deviations, and evaluating financial results against planned targets in management reports for better decision-making.', MaxLength = 500; + BalanceOnlyInternalDescriptionLbl: Label 'Single-column layout showing the net balance of general ledger entries as of a specific date using balance at date and net amount. This layout provides a clear snapshot of financial position at a point in time. Useful for balance sheet reporting, validating account balances, and supporting period-end reviews where accurate figures are critical for compliance and financial analysis.', MaxLength = 500; + BudgetAnalysisInternalDescriptionLbl: Label 'Four-column layout showing actual net change, budgeted amounts, variance percentage, and prior-year net change using ledger and budget entries with a formula for variance. This layout provides a comprehensive view of performance against budget and historical trends. Useful for evaluating budget accuracy, analyzing year-over-year changes, and identifying variances for financial planning.', MaxLength = 500; + CashFlowComparisonInternalDescriptionLbl: Label 'Three-column layout showing net change for the current month, balance up to date, and entire fiscal year totals using ledger entry amounts. This structure supports quick comparisons between monthly, cumulative, and annual figures. Useful for trend analysis, identifying performance patterns, and providing a complete view of financial activity for management reporting purposes.', MaxLength = 500; + DefaultLayoutInternalDescriptionLbl: Label 'Four-column layout displaying net change and balance at date, split into debit and credit amounts using ledger entries. Positive values appear in debit columns, while negative values show in credit columns for clear interpretation. This layout is useful for detailed financial reporting, analyzing account movements, and supporting balance sheet and trial balance reconciliation by providing transparent debit-credit segregation across periods.', MaxLength = 500; + KeyCashFlowRatioInternalDescriptionLbl: Label 'Single-column layout displaying a key financial figure as of a specific date using balance at date and net amount from ledger entries. This layout provides a clear snapshot of account balances at a point in time, ensuring accurate representation of financial position. Useful for balance sheet reporting, validating period-end figures, and supporting management decisions that require precise and timely data for compliance and performance analysis.', MaxLength = 500; + PeriodsDefinitionInternalDescriptionLbl: Label 'Three-column layout displaying net changes for the current period and two preceding periods using net change and net amount from ledger entries. This structure provides a quick view of short-term financial performance, enabling trend analysis across consecutive periods. Useful for mini charts, dashboards, and reports that highlight recent activity, helping management monitor fluctuations and make timely decisions based on current and prior period comparisons.', MaxLength = 500; } From d2a2f112f9fd28fdd94cb05be5f606c9ae4b9232 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:35:52 +1100 Subject: [PATCH 05/12] Sorted variables --- .../CreateColumnLayoutName.Codeunit.al | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al index e50ed9c15c..59049d76a3 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al @@ -141,61 +141,61 @@ codeunit 5401 "Create Column Layout Name" end; var + ActualBudgetComparisonInternalDescriptionLbl: Label 'Four-column layout comparing actual net change, budgeted amounts, and variance using formulas for difference and percentage. Positive and negative variances are clearly calculated to highlight performance gaps. Useful for monitoring budget adherence, analyzing deviations, and evaluating financial results against planned targets in management reports for better decision-making.', MaxLength = 500; + ActualBudgetComparisonLbl: Label 'Actual / Budget Comparison', MaxLength = 80; ActualBudgetComparisonTok: Label 'ACT/BUD', MaxLength = 10; + BalanceOnlyInternalDescriptionLbl: Label 'Single-column layout showing the net balance of general ledger entries as of a specific date using balance at date and net amount. This layout provides a clear snapshot of financial position at a point in time. Useful for balance sheet reporting, validating account balances, and supporting period-end reviews where accurate figures are critical for compliance and financial analysis.', MaxLength = 500; + BalanceOnlyLbl: Label 'Balance Only', MaxLength = 80; BalanceOnlyTok: Label 'BAL ONLY', MaxLength = 10; - BudgetAnalysisTok: Label 'BUDGANALYS', MaxLength = 10; - CashFlowComparisonTok: Label 'CASHFLOW', MaxLength = 10; - DefaultLayoutTok: Label 'DEFAULT', MaxLength = 10; - KeyCashFlowRatioTok: Label 'DEGREE', MaxLength = 10; - PeriodsDefinitionTok: Label 'PERIODS', MaxLength = 10; + BalanceSheetInternalDescriptionLbl: Label 'Twelve-column layout showing month-end balances for each month of the current fiscal year using balance at date and net amount from ledger entries. This layout enables trend analysis across all months, helping identify seasonal fluctuations and financial position changes. Useful for monitoring monthly balance trends, supporting balance sheet reporting, and year-end reviews.', MaxLength = 500; + BalanceSheetLbl: Label 'BS 12 Months Balance Trending Current Fiscal Year', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; BalanceSheetTrendTok: Label 'BSTREND', MaxLength = 10, Comment = 'Balance Sheet Trend'; - IncomeStatementTrendTok: Label 'ISTREND', MaxLength = 10, Comment = 'Income Statement Trend'; BeginningBalanceDebitsCreditsEndingBalanceTok: Label 'BBDRCREB', MaxLength = 10, Comment = 'Beginning Balance Debits Credits Ending Balance'; - CurrentMonthBalanceTok: Label 'CB', Locked = true; - CurrentMonthBalanceVPriorMonthTok: Label 'CB V PB', Locked = true; - CurrentMonthBalanceVSameMonthPriorYearTok: Label 'CB V SPYB', Locked = true; - CurrentMonthNetChangeTok: Label 'CNC', Locked = true; - CurrentMonthNetChangeBudgetTok: Label 'CNC BUD', Locked = true; - CurrentMonthNetChangeVPriorMonthTok: Label 'CNC V PNC', Locked = true; - CurrentMonthNetChangeVSameMonthPriorYearTok: Label 'CNC VSPYNC', Locked = true; - CurrentMonthVPriorMonthCYTok: Label 'CNCVPNCYOY', Locked = true; - CurrentMonthVBudgetYearToDateTok: Label 'CVC YTDBUD', Locked = true; - BalanceSheetLbl: Label 'BS 12 Months Balance Trending Current Fiscal Year', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; - IncomeStatementLbl: Label 'IS 12 Months Net Change Trending Current Fiscal Year', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - TrialBalanceLbl: Label 'TB Beginning Balance Debits Credits Ending Balance', MaxLength = 80, Comment = 'TB - abbreviation of Trial Balance'; - CurrentMonthBalanceLbl: Label 'BS Current Month Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; - CurrentMonthBalanceVPriorMonthLbl: Label 'BS Current Month Balance v Prior Month Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; - CurrentMonthBalanceVSameMonthPriorYearLbl: Label 'BS Current Month Balance v Same Month Prior Year Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; - CurrentMonthNetChangeLbl: Label 'IS Current Month Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - CurrentMonthNetChangeBudgetLbl: Label 'IS 12 Months Net Change Budget Only', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - CurrentMonthNetChangeVPriorMonthLbl: Label 'IS Current Month Net Change v Prior Month Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - CurrentMonthNetChangeVSameMonthPriorYearLbl: Label 'IS Current Month Net Change v Same Month Prior Year Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - CurrentMonthVPriorMonthCYLbl: Label 'IS Current Month v Prior Month for CY and Current Month v Prior Month for PY', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - CurrentMonthVBudgetYearToDateLbl: Label 'IS Current Month v Budget Year to Date v Budget and Bud Total and Bud Remaining', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; - ActualBudgetComparisonLbl: Label 'Actual / Budget Comparison', MaxLength = 80; - BalanceOnlyLbl: Label 'Balance Only', MaxLength = 80; + BudgetAnalysisInternalDescriptionLbl: Label 'Four-column layout showing actual net change, budgeted amounts, variance percentage, and prior-year net change using ledger and budget entries with a formula for variance. This layout provides a comprehensive view of performance against budget and historical trends. Useful for evaluating budget accuracy, analyzing year-over-year changes, and identifying variances for financial planning.', MaxLength = 500; BudgetAnalysisLbl: Label 'Budget Analysis', MaxLength = 80; + BudgetAnalysisTok: Label 'BUDGANALYS', MaxLength = 10; + CashFlowComparisonInternalDescriptionLbl: Label 'Three-column layout showing net change for the current month, balance up to date, and entire fiscal year totals using ledger entry amounts. This structure supports quick comparisons between monthly, cumulative, and annual figures. Useful for trend analysis, identifying performance patterns, and providing a complete view of financial activity for management reporting purposes.', MaxLength = 500; CashFlowComparisonLbl: Label 'Comparison month - year', MaxLength = 80; - DefaultLayoutLbl: Label 'Standard Column Layout', MaxLength = 80; - KeyCashFlowRatioLbl: Label 'Key Cash Flow Ratio', MaxLength = 80; - PeriodsDefinitionLbl: Label 'Periods Definition for Mini Charts', MaxLength = 80; - BalanceSheetInternalDescriptionLbl: Label 'Twelve-column layout showing month-end balances for each month of the current fiscal year using balance at date and net amount from ledger entries. This layout enables trend analysis across all months, helping identify seasonal fluctuations and financial position changes. Useful for monitoring monthly balance trends, supporting balance sheet reporting, and year-end reviews.', MaxLength = 500; - IncomeStatementInternalDescriptionLbl: Label 'Thirteen-column layout displaying monthly net changes for each month of the current fiscal year plus a total column calculated using formulas and ledger entries. This structure provides a detailed view of income statement activity across all periods, enabling trend analysis and cumulative performance tracking. Useful for monitoring monthly revenue and expense movements, identifying seasonal patterns, and supporting financial planning, forecasting, and management reporting.', MaxLength = 500; - TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debits, credits, and a formula ending balance (1+2-3). Useful for trial-balance reconciliation, tracking period activity, and validating period-end balances.', MaxLength = 500; + CashFlowComparisonTok: Label 'CASHFLOW', MaxLength = 10; CurrentMonthBalanceInternalDescriptionLbl: Label 'Three-column layout showing current month balance, prior month balance, and the calculated difference using balance at date and net amount from ledger entries. this layout helps identify month-over-month changes and trends. Useful for variance analysis, monitoring short-term financial movements, and supporting management decisions based on recent performance comparisons.', MaxLength = 500; + CurrentMonthBalanceLbl: Label 'BS Current Month Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; + CurrentMonthBalanceTok: Label 'CB', Locked = true; CurrentMonthBalanceVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing Current Month Balance, Prior Month Balance, and Difference (Current - Prior). Displays month-end net amounts and calculates change; useful for month-over-month balance comparisons, reconciliation, and anomaly detection.', MaxLength = 500; + CurrentMonthBalanceVPriorMonthLbl: Label 'BS Current Month Balance v Prior Month Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; + CurrentMonthBalanceVPriorMonthTok: Label 'CB V PB', Locked = true; CurrentMonthBalanceVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing current month balance, same month prior year balance, and the calculated difference using balance at date and net amount from ledger entries. This layout enables year-over-year comparisons to identify seasonal trends and performance shifts. Useful for variance analysis, strategic planning, and evaluating financial consistency across fiscal periods.', MaxLength = 500; - CurrentMonthNetChangeInternalDescriptionLbl: Label 'Single-column layout showing the current month''s net change using net change and net amount from ledger entries. This layout provides insight into income statement activity for the period. Useful for tracking monthly performance, analyzing revenue and expense fluctuations, and supporting short-term financial decision-making with accurate and timely data.', MaxLength = 500; + CurrentMonthBalanceVSameMonthPriorYearLbl: Label 'BS Current Month Balance v Same Month Prior Year Balance', MaxLength = 80, Comment = 'BS - abbreviation of Balance Sheet'; + CurrentMonthBalanceVSameMonthPriorYearTok: Label 'CB V SPYB', Locked = true; CurrentMonthNetChangeBudgetInternalDescriptionLbl: Label 'Thirteen-column layout showing monthly budgeted net changes for all 12 months plus a total column using formulas and budget entries. This structure supports comprehensive budget tracking and trend analysis across the fiscal year. Useful for monitoring planned income statement activity, evaluating budget adherence, and supporting financial planning and forecasting processes.', MaxLength = 500; + CurrentMonthNetChangeBudgetLbl: Label 'IS 12 Months Net Change Budget Only', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthNetChangeBudgetTok: Label 'CNC BUD', Locked = true; + CurrentMonthNetChangeInternalDescriptionLbl: Label 'Single-column layout showing the current month''s net change using net change and net amount from ledger entries. This layout provides insight into income statement activity for the period. Useful for tracking monthly performance, analyzing revenue and expense fluctuations, and supporting short-term financial decision-making with accurate and timely data.', MaxLength = 500; + CurrentMonthNetChangeLbl: Label 'IS Current Month Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthNetChangeTok: Label 'CNC', Locked = true; CurrentMonthNetChangeVPriorMonthInternalDescriptionLbl: Label 'Three-column layout showing current month net change, prior month net change, and the calculated difference using net change and net amount from ledger entries. This layout helps identify short-term trends and performance shifts. Useful for variance analysis, monitoring income statement movements, and supporting management decisions based on recent financial activity comparisons.', MaxLength = 500; + CurrentMonthNetChangeVPriorMonthLbl: Label 'IS Current Month Net Change v Prior Month Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthNetChangeVPriorMonthTok: Label 'CNC V PNC', Locked = true; CurrentMonthNetChangeVSameMonthPriorYearInternalDescriptionLbl: Label 'Three-column layout showing current month net change, same month prior year net change, and the calculated difference using net change and net amount from ledger entries. This layout enables year-over-year comparisons to identify seasonal trends and performance changes. Useful for variance analysis, strategic planning, and evaluating financial consistency across fiscal periods.', MaxLength = 500; - CurrentMonthVPriorMonthCYInternalDescriptionLbl: Label 'Seven-column layout showing current month and prior month net changes with calculated difference for the current year, plus same month prior year comparison and its difference using net change and formulas. Useful for analyzing month-over-month and year-over-year income statement trends, identifying performance shifts, and supporting variance analysis for management reporting.', MaxLength = 500; + CurrentMonthNetChangeVSameMonthPriorYearLbl: Label 'IS Current Month Net Change v Same Month Prior Year Net Change', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthNetChangeVSameMonthPriorYearTok: Label 'CNC VSPYNC', Locked = true; CurrentMonthVBudgetYearToDateInternalDescriptionLbl: Label 'Ten-column layout showing current month actual and budget amounts with variance, year-to-date actual and budget with variance, plus total budget and remaining budget using ledger and budget entries with formulas. Useful for monitoring actual vs budget performance, tracking cumulative results, and managing budget utilization throughout the fiscal year for better financial control.', MaxLength = 500; - ActualBudgetComparisonInternalDescriptionLbl: Label 'Four-column layout comparing actual net change, budgeted amounts, and variance using formulas for difference and percentage. Positive and negative variances are clearly calculated to highlight performance gaps. Useful for monitoring budget adherence, analyzing deviations, and evaluating financial results against planned targets in management reports for better decision-making.', MaxLength = 500; - BalanceOnlyInternalDescriptionLbl: Label 'Single-column layout showing the net balance of general ledger entries as of a specific date using balance at date and net amount. This layout provides a clear snapshot of financial position at a point in time. Useful for balance sheet reporting, validating account balances, and supporting period-end reviews where accurate figures are critical for compliance and financial analysis.', MaxLength = 500; - BudgetAnalysisInternalDescriptionLbl: Label 'Four-column layout showing actual net change, budgeted amounts, variance percentage, and prior-year net change using ledger and budget entries with a formula for variance. This layout provides a comprehensive view of performance against budget and historical trends. Useful for evaluating budget accuracy, analyzing year-over-year changes, and identifying variances for financial planning.', MaxLength = 500; - CashFlowComparisonInternalDescriptionLbl: Label 'Three-column layout showing net change for the current month, balance up to date, and entire fiscal year totals using ledger entry amounts. This structure supports quick comparisons between monthly, cumulative, and annual figures. Useful for trend analysis, identifying performance patterns, and providing a complete view of financial activity for management reporting purposes.', MaxLength = 500; + CurrentMonthVBudgetYearToDateLbl: Label 'IS Current Month v Budget Year to Date v Budget and Bud Total and Bud Remaining', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthVBudgetYearToDateTok: Label 'CVC YTDBUD', Locked = true; + CurrentMonthVPriorMonthCYInternalDescriptionLbl: Label 'Seven-column layout showing current month and prior month net changes with calculated difference for the current year, plus same month prior year comparison and its difference using net change and formulas. Useful for analyzing month-over-month and year-over-year income statement trends, identifying performance shifts, and supporting variance analysis for management reporting.', MaxLength = 500; + CurrentMonthVPriorMonthCYLbl: Label 'IS Current Month v Prior Month for CY and Current Month v Prior Month for PY', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + CurrentMonthVPriorMonthCYTok: Label 'CNCVPNCYOY', Locked = true; DefaultLayoutInternalDescriptionLbl: Label 'Four-column layout displaying net change and balance at date, split into debit and credit amounts using ledger entries. Positive values appear in debit columns, while negative values show in credit columns for clear interpretation. This layout is useful for detailed financial reporting, analyzing account movements, and supporting balance sheet and trial balance reconciliation by providing transparent debit-credit segregation across periods.', MaxLength = 500; + DefaultLayoutLbl: Label 'Standard Column Layout', MaxLength = 80; + DefaultLayoutTok: Label 'DEFAULT', MaxLength = 10; + IncomeStatementInternalDescriptionLbl: Label 'Thirteen-column layout displaying monthly net changes for each month of the current fiscal year plus a total column calculated using formulas and ledger entries. This structure provides a detailed view of income statement activity across all periods, enabling trend analysis and cumulative performance tracking. Useful for monitoring monthly revenue and expense movements, identifying seasonal patterns, and supporting financial planning, forecasting, and management reporting.', MaxLength = 500; + IncomeStatementLbl: Label 'IS 12 Months Net Change Trending Current Fiscal Year', MaxLength = 80, Comment = 'IS - abbreviation of Income Statement'; + IncomeStatementTrendTok: Label 'ISTREND', MaxLength = 10, Comment = 'Income Statement Trend'; KeyCashFlowRatioInternalDescriptionLbl: Label 'Single-column layout displaying a key financial figure as of a specific date using balance at date and net amount from ledger entries. This layout provides a clear snapshot of account balances at a point in time, ensuring accurate representation of financial position. Useful for balance sheet reporting, validating period-end figures, and supporting management decisions that require precise and timely data for compliance and performance analysis.', MaxLength = 500; + KeyCashFlowRatioLbl: Label 'Key Cash Flow Ratio', MaxLength = 80; + KeyCashFlowRatioTok: Label 'DEGREE', MaxLength = 10; PeriodsDefinitionInternalDescriptionLbl: Label 'Three-column layout displaying net changes for the current period and two preceding periods using net change and net amount from ledger entries. This structure provides a quick view of short-term financial performance, enabling trend analysis across consecutive periods. Useful for mini charts, dashboards, and reports that highlight recent activity, helping management monitor fluctuations and make timely decisions based on current and prior period comparisons.', MaxLength = 500; + PeriodsDefinitionLbl: Label 'Periods Definition for Mini Charts', MaxLength = 80; + PeriodsDefinitionTok: Label 'PERIODS', MaxLength = 10; + TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debits, credits, and a formula ending balance (1+2-3). Useful for trial-balance reconciliation, tracking period activity, and validating period-end balances.', MaxLength = 500; + TrialBalanceLbl: Label 'TB Beginning Balance Debits Credits Ending Balance', MaxLength = 80, Comment = 'TB - abbreviation of Trial Balance'; } From 13c96d4ed5c21f730e00d49e032207e6ab9c5cc5 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:46:34 +1100 Subject: [PATCH 06/12] Increased InternalDescription length to Text[500] --- .../DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al index 5eb0ce747a..e867ad9bc2 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoTool/Contoso Helpers/ContosoAccountSchedule.Codeunit.al @@ -112,7 +112,7 @@ codeunit 5239 "Contoso Account Schedule" InsertAccScheduleName(Name, Description, AnalysisViewName, ''); end; - procedure InsertAccScheduleName(Name: Code[10]; Description: Text[80]; AnalysisViewName: Code[10]; InternalDescription: Code[250]) + procedure InsertAccScheduleName(Name: Code[10]; Description: Text[80]; AnalysisViewName: Code[10]; InternalDescription: Text[500]) var AccScheduleName: Record "Acc. Schedule Name"; Exists: Boolean; From 07b4446f617566e8f79e249ca8448997a7817dae Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:46:58 +1100 Subject: [PATCH 07/12] Updated internal description for row definitions --- .../CreateAccScheduleName.Codeunit.al | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al index 18beec6139..76680dfdff 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al @@ -17,15 +17,15 @@ codeunit 5223 "Create Acc. Schedule Name" CreateAnalysisView: Codeunit "Create Analysis View"; ContosoAccountSchedule: Codeunit "Contoso Account Schedule"; begin - ContosoAccountSchedule.InsertAccScheduleName(AccountCategoriesOverview(), AccountCategoriesOverviewLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(CapitalStructure(), CapitalStructureLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(CashFlowCalculation(), CashFlowCalculationLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(Revenues(), RevenuesLbl, CreateAnalysisView.SalesRevenue()); - ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetDetailed(), BalanceSheetDetailedLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetSummarized(), BalanceSheetSummarizedLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementDetailed(), IncomeStatementDetailedLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementSummarized(), IncomeStatementSummarizedLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(TrialBalance(), TrialBalanceLbl, ''); + ContosoAccountSchedule.InsertAccScheduleName(AccountCategoriesOverview(), AccountCategoriesOverviewLbl, '', AccountCategoriesOverviewInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(CapitalStructure(), CapitalStructureLbl, '', CapitalStructureInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(CashFlowCalculation(), CashFlowCalculationLbl, '', CashFlowCalculationInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(Revenues(), RevenuesLbl, CreateAnalysisView.SalesRevenue(), RevenuesInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetDetailed(), BalanceSheetDetailedLbl, '', BalanceSheetDetailedInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetSummarized(), BalanceSheetSummarizedLbl, '', BalanceSheetSummarizedInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementDetailed(), IncomeStatementDetailedLbl, '', IncomeStatementDetailedInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementSummarized(), IncomeStatementSummarizedLbl, '', IncomeStatementSummarizedInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(TrialBalance(), TrialBalanceLbl, '', TrialBalanceInternalDescriptionLbl); end; internal procedure CreateSetupAccScheduleName() @@ -129,9 +129,18 @@ codeunit 5223 "Create Acc. Schedule Name" CashFlowDataLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; IncomeExpenseDataLbl: Label 'Data for Income & Expense Chart', MaxLength = 80; ReducedTrialBalanceDataLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; - CashCycleDataInternalDescriptionLbl: Label 'Internal row definition used for providing data for the Cash Cycle Chart', MaxLength = 250; - CashFlowDataInternalDescriptionLbl: Label 'Internal row definition used for providing data for the Cash Flow Chart', MaxLength = 250; - IncomeExpenseDataInternalDescriptionLbl: Label 'Internal row definition used for providing data for the Income & Expense Chart', MaxLength = 250; - ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Internal row definition used for providing data for the Reduced Trial Balance Info Part', MaxLength = 250; + CashCycleDataInternalDescriptionLbl: Label 'Eight-row layout calculating key metrics for cash cycle analysis, including total revenue, receivables, payables, and inventory balances. This layout incorporates formulas to derive days sales outstanding, days payment outstanding, days sales of inventory, and overall cash cycle in days. Useful for assessing working capital efficiency, optimizing payment terms, and improving liquidity management.', MaxLength = 500; + CashFlowDataInternalDescriptionLbl: Label 'Four-row layout summarizing cash flow components with posting account ranges for receivables, payables, and liquid funds, plus a formula to calculate total cash flow. This layout uses balance at date with net amount for point-in-time financial positions, providing a clear snapshot of liquidity status. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations.', MaxLength = 500; + IncomeExpenseDataInternalDescriptionLbl: Label 'Eight-row layout detailing income and expense components with posting account ranges for revenue, goods sold, external costs, personnel costs, depreciation, and other expenses. This layout includes formulas to calculate total expenditure and earnings before interest, using Net Change for accurate period performance tracking. Useful for profitability analysis, expense monitoring, and generating visual income-versus-cost comparisons for management reporting.', MaxLength = 500; + ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Nine-row layout summarizing key trial balance metrics with posting account ranges for revenue, cost, operating expenses, and other expenses. This layout includes formulas for gross margin, operating margin, and their respective percentages, as well as income before interest and tax, all based on net change for period performance. Useful for quick profitability checks, margin analysis, and providing condensed financial insights for dashboards or info parts.', MaxLength = 500; RevenuesLbl: Label 'Revenues', MaxLength = 80; + AccountCategoriesOverviewInternalDescriptionLbl: Label 'Twelve-row layout combining balance sheet and income statement sections with structured account category grouping and calculated formulas. This layout organizes assets, liabilities, equity, income, cost of goods sold, and expenses, and calculates key totals such as net income to provide a comprehensive financial overview. Useful for consolidated reporting, comparative analysis, and delivering actionable insights across accounting periods.', MaxLength = 500; + CapitalStructureInternalDescriptionLbl: Label 'Sixteen-row layout analyzing liquidity and short-term obligations through structured grouping of current assets and liabilities. This layout includes detailed rows for liquid assets, receivables, inventory, WIP, and short-term liabilities, with formulas calculating totals and net positions. Useful for assessing working capital, liquidity ratios, and short-term financial health in management and compliance reporting.', MaxLength = 500; + BalanceSheetDetailedInternalDescriptionLbl: Label 'A detailed layout with expanded sections for current assets, long-term assets, liabilities, and equity, including granular account ranges for receivables, inventory, prepaid expenses, and fixed assets. This layout incorporates formulas for subtotals and reconciliation checks to ensure accuracy and completeness. Useful for in-depth financial analysis, audit support, and preparing comprehensive management reports.', MaxLength = 500; + BalanceSheetSummarizedInternalDescriptionLbl: Label 'Eight-row layout presenting a summarized balance sheet with posting account ranges for assets, liabilities, and equity. This layout includes calculated totals for Assets and Liabilities & Equity, plus check-figure formulas to verify balance, and uses balance at date with net amount for point-in-time figures and clear bold totals. Useful for executive snapshots, period-end validation, and quick reconciliation.', MaxLength = 500; + CashFlowCalculationInternalDescriptionLbl: Label 'Twenty-row layout designed for cash flow analysis, grouping cash receipts and disbursements by categories such as receivables, payables, open orders, investments, and miscellaneous transactions. This layout includes formulas for totals, surplus, and overall cash flow, using net change for dynamic period movements. Useful for liquidity planning, forecasting, and monitoring operational and investment cash positions.', MaxLength = 500; + IncomeStatementDetailedInternalDescriptionLbl: Label 'A detailed multi-section layout for a full income statement, including revenue categories, cost of goods, and operating expenses with posting account ranges for materials, labor, overhead, and expense types. This layout incorporates formulas for gross margin, operating totals, and net income or loss, using net change for accurate period performance. Useful for financial statement preparation, profitability analysis, and management reporting with detailed account-level visibility.', MaxLength = 500; + IncomeStatementSummarizedInternalDescriptionLbl: Label 'Ten-row layout summarizing an Income Statement with posting account ranges for revenue, cost of goods, and operating expenses. Includes formulas for gross margin, gross margin percentage, and net income or loss, using net change for period-based performance tracking. Provides a simplified structure for quick financial review while maintaining key profitability indicators. Useful for high-level reporting, management summaries, and streamlined financial analysis.', MaxLength = 500; + RevenuesInternalDescriptionLbl: Label 'Fifteen-row layout focused on revenue categorization, including product sales, services, job-related income, and other income streams, with totals for retail and area-specific revenues. This layout consolidates multiple revenue sources into clear groupings and calculates overall totals for comprehensive reporting. Useful for revenue analysis, performance tracking, and preparing detailed income breakdowns.', MaxLength = 500; + TrialBalanceInternalDescriptionLbl: Label 'A comprehensive layout presenting all general ledger accounts with their debit and credit balances in a structured sequence. This layout provides a complete view of account activity for the period, ensuring that total debits equal total credits for accuracy. Useful for validating ledger integrity, preparing financial statements, and supporting audit and compliance processes.', MaxLength = 500; } From 2d8c15e3c3ea3af0b39821e4da08517bfe79f626 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 14:49:17 +1100 Subject: [PATCH 08/12] Sorted variables --- .../CreateAccScheduleName.Codeunit.al | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al index 76680dfdff..e837958db4 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al @@ -104,43 +104,43 @@ codeunit 5223 "Create Acc. Schedule Name" end; var + AccountCategoriesOverviewInternalDescriptionLbl: Label 'Twelve-row layout combining balance sheet and income statement sections with structured account category grouping and calculated formulas. This layout organizes assets, liabilities, equity, income, cost of goods sold, and expenses, and calculates key totals such as net income to provide a comprehensive financial overview. Useful for consolidated reporting, comparative analysis, and delivering actionable insights across accounting periods.', MaxLength = 500; + AccountCategoriesOverviewLbl: Label 'Account Categories overview', MaxLength = 80; AccountCategoriesOverviewTok: Label 'ACC-CAT', MaxLength = 10; - CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; - CashFlowCalculationTok: Label 'CASHFLOW', MaxLength = 10; - CashCycleDataTok: Label 'I_CACYCLE', MaxLength = 10; - CashFlowDataTok: Label 'I_CASHFLOW', MaxLength = 10; - IncomeExpenseDataTok: Label 'I_INCEXP', MaxLength = 10; - ReducedTrialBalanceDataTok: Label 'I_MINTRIAL', MaxLength = 10; - RevenuesTok: Label 'REVENUE', MaxLength = 10; - BalanceSheetDetailedTok: Label 'BS DET', MaxLength = 10, Comment = 'Balance Sheet Detailed'; - BalanceSheetSummarizedTok: Label 'BS SUM', MaxLength = 10, Comment = 'Balance Sheet Summarized'; - IncomeStatementDetailedTok: Label 'IS DET', MaxLength = 10, Comment = 'Income Statement Detailed'; - IncomeStatementSummerizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; - TrialBalanceTok: Label 'TB', MaxLength = 10, Comment = 'Trial Balance'; + BalanceSheetDetailedInternalDescriptionLbl: Label 'A detailed layout with expanded sections for current assets, long-term assets, liabilities, and equity, including granular account ranges for receivables, inventory, prepaid expenses, and fixed assets. This layout incorporates formulas for subtotals and reconciliation checks to ensure accuracy and completeness. Useful for in-depth financial analysis, audit support, and preparing comprehensive management reports.', MaxLength = 500; BalanceSheetDetailedLbl: Label 'Balance Sheet Detailed', MaxLength = 80; + BalanceSheetDetailedTok: Label 'BS DET', MaxLength = 10, Comment = 'Balance Sheet Detailed'; + BalanceSheetSummarizedInternalDescriptionLbl: Label 'Eight-row layout presenting a summarized balance sheet with posting account ranges for assets, liabilities, and equity. This layout includes calculated totals for Assets and Liabilities & Equity, plus check-figure formulas to verify balance, and uses balance at date with net amount for point-in-time figures and clear bold totals. Useful for executive snapshots, period-end validation, and quick reconciliation.', MaxLength = 500; BalanceSheetSummarizedLbl: Label 'Balance Sheet Summarized', MaxLength = 80; - IncomeStatementDetailedLbl: Label 'Income Statement Detailed', MaxLength = 80; - IncomeStatementSummarizedLbl: Label 'Income Statement Summarized', MaxLength = 80; - TrialBalanceLbl: Label 'Trial Balance', MaxLength = 80; - AccountCategoriesOverviewLbl: Label 'Account Categories overview', MaxLength = 80; + BalanceSheetSummarizedTok: Label 'BS SUM', MaxLength = 10, Comment = 'Balance Sheet Summarized'; + CapitalStructureInternalDescriptionLbl: Label 'Sixteen-row layout analyzing liquidity and short-term obligations through structured grouping of current assets and liabilities. This layout includes detailed rows for liquid assets, receivables, inventory, WIP, and short-term liabilities, with formulas calculating totals and net positions. Useful for assessing working capital, liquidity ratios, and short-term financial health in management and compliance reporting.', MaxLength = 500; CapitalStructureLbl: Label 'Capital Structure', MaxLength = 80; - CashFlowCalculationLbl: Label 'Calculation Of Cash Flow', MaxLength = 80; - CashCycleDataLbl: Label 'Data for Cash Cycle Chart', MaxLength = 80; - CashFlowDataLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; - IncomeExpenseDataLbl: Label 'Data for Income & Expense Chart', MaxLength = 80; - ReducedTrialBalanceDataLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; + CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; CashCycleDataInternalDescriptionLbl: Label 'Eight-row layout calculating key metrics for cash cycle analysis, including total revenue, receivables, payables, and inventory balances. This layout incorporates formulas to derive days sales outstanding, days payment outstanding, days sales of inventory, and overall cash cycle in days. Useful for assessing working capital efficiency, optimizing payment terms, and improving liquidity management.', MaxLength = 500; + CashCycleDataLbl: Label 'Data for Cash Cycle Chart', MaxLength = 80; + CashCycleDataTok: Label 'I_CACYCLE', MaxLength = 10; + CashFlowCalculationInternalDescriptionLbl: Label 'Twenty-row layout designed for cash flow analysis, grouping cash receipts and disbursements by categories such as receivables, payables, open orders, investments, and miscellaneous transactions. This layout includes formulas for totals, surplus, and overall cash flow, using net change for dynamic period movements. Useful for liquidity planning, forecasting, and monitoring operational and investment cash positions.', MaxLength = 500; + CashFlowCalculationLbl: Label 'Calculation Of Cash Flow', MaxLength = 80; + CashFlowCalculationTok: Label 'CASHFLOW', MaxLength = 10; CashFlowDataInternalDescriptionLbl: Label 'Four-row layout summarizing cash flow components with posting account ranges for receivables, payables, and liquid funds, plus a formula to calculate total cash flow. This layout uses balance at date with net amount for point-in-time financial positions, providing a clear snapshot of liquidity status. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations.', MaxLength = 500; + CashFlowDataLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; + CashFlowDataTok: Label 'I_CASHFLOW', MaxLength = 10; IncomeExpenseDataInternalDescriptionLbl: Label 'Eight-row layout detailing income and expense components with posting account ranges for revenue, goods sold, external costs, personnel costs, depreciation, and other expenses. This layout includes formulas to calculate total expenditure and earnings before interest, using Net Change for accurate period performance tracking. Useful for profitability analysis, expense monitoring, and generating visual income-versus-cost comparisons for management reporting.', MaxLength = 500; - ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Nine-row layout summarizing key trial balance metrics with posting account ranges for revenue, cost, operating expenses, and other expenses. This layout includes formulas for gross margin, operating margin, and their respective percentages, as well as income before interest and tax, all based on net change for period performance. Useful for quick profitability checks, margin analysis, and providing condensed financial insights for dashboards or info parts.', MaxLength = 500; - RevenuesLbl: Label 'Revenues', MaxLength = 80; - AccountCategoriesOverviewInternalDescriptionLbl: Label 'Twelve-row layout combining balance sheet and income statement sections with structured account category grouping and calculated formulas. This layout organizes assets, liabilities, equity, income, cost of goods sold, and expenses, and calculates key totals such as net income to provide a comprehensive financial overview. Useful for consolidated reporting, comparative analysis, and delivering actionable insights across accounting periods.', MaxLength = 500; - CapitalStructureInternalDescriptionLbl: Label 'Sixteen-row layout analyzing liquidity and short-term obligations through structured grouping of current assets and liabilities. This layout includes detailed rows for liquid assets, receivables, inventory, WIP, and short-term liabilities, with formulas calculating totals and net positions. Useful for assessing working capital, liquidity ratios, and short-term financial health in management and compliance reporting.', MaxLength = 500; - BalanceSheetDetailedInternalDescriptionLbl: Label 'A detailed layout with expanded sections for current assets, long-term assets, liabilities, and equity, including granular account ranges for receivables, inventory, prepaid expenses, and fixed assets. This layout incorporates formulas for subtotals and reconciliation checks to ensure accuracy and completeness. Useful for in-depth financial analysis, audit support, and preparing comprehensive management reports.', MaxLength = 500; - BalanceSheetSummarizedInternalDescriptionLbl: Label 'Eight-row layout presenting a summarized balance sheet with posting account ranges for assets, liabilities, and equity. This layout includes calculated totals for Assets and Liabilities & Equity, plus check-figure formulas to verify balance, and uses balance at date with net amount for point-in-time figures and clear bold totals. Useful for executive snapshots, period-end validation, and quick reconciliation.', MaxLength = 500; - CashFlowCalculationInternalDescriptionLbl: Label 'Twenty-row layout designed for cash flow analysis, grouping cash receipts and disbursements by categories such as receivables, payables, open orders, investments, and miscellaneous transactions. This layout includes formulas for totals, surplus, and overall cash flow, using net change for dynamic period movements. Useful for liquidity planning, forecasting, and monitoring operational and investment cash positions.', MaxLength = 500; + IncomeExpenseDataLbl: Label 'Data for Income & Expense Chart', MaxLength = 80; + IncomeExpenseDataTok: Label 'I_INCEXP', MaxLength = 10; IncomeStatementDetailedInternalDescriptionLbl: Label 'A detailed multi-section layout for a full income statement, including revenue categories, cost of goods, and operating expenses with posting account ranges for materials, labor, overhead, and expense types. This layout incorporates formulas for gross margin, operating totals, and net income or loss, using net change for accurate period performance. Useful for financial statement preparation, profitability analysis, and management reporting with detailed account-level visibility.', MaxLength = 500; + IncomeStatementDetailedLbl: Label 'Income Statement Detailed', MaxLength = 80; + IncomeStatementDetailedTok: Label 'IS DET', MaxLength = 10, Comment = 'Income Statement Detailed'; IncomeStatementSummarizedInternalDescriptionLbl: Label 'Ten-row layout summarizing an Income Statement with posting account ranges for revenue, cost of goods, and operating expenses. Includes formulas for gross margin, gross margin percentage, and net income or loss, using net change for period-based performance tracking. Provides a simplified structure for quick financial review while maintaining key profitability indicators. Useful for high-level reporting, management summaries, and streamlined financial analysis.', MaxLength = 500; + IncomeStatementSummarizedLbl: Label 'Income Statement Summarized', MaxLength = 80; + IncomeStatementSummerizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; + ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Nine-row layout summarizing key trial balance metrics with posting account ranges for revenue, cost, operating expenses, and other expenses. This layout includes formulas for gross margin, operating margin, and their respective percentages, as well as income before interest and tax, all based on net change for period performance. Useful for quick profitability checks, margin analysis, and providing condensed financial insights for dashboards or info parts.', MaxLength = 500; + ReducedTrialBalanceDataLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; + ReducedTrialBalanceDataTok: Label 'I_MINTRIAL', MaxLength = 10; RevenuesInternalDescriptionLbl: Label 'Fifteen-row layout focused on revenue categorization, including product sales, services, job-related income, and other income streams, with totals for retail and area-specific revenues. This layout consolidates multiple revenue sources into clear groupings and calculates overall totals for comprehensive reporting. Useful for revenue analysis, performance tracking, and preparing detailed income breakdowns.', MaxLength = 500; + RevenuesLbl: Label 'Revenues', MaxLength = 80; + RevenuesTok: Label 'REVENUE', MaxLength = 10; TrialBalanceInternalDescriptionLbl: Label 'A comprehensive layout presenting all general ledger accounts with their debit and credit balances in a structured sequence. This layout provides a complete view of account activity for the period, ensuring that total debits equal total credits for accuracy. Useful for validating ledger integrity, preparing financial statements, and supporting audit and compliance processes.', MaxLength = 500; + TrialBalanceLbl: Label 'Trial Balance', MaxLength = 80; + TrialBalanceTok: Label 'TB', MaxLength = 10, Comment = 'Trial Balance'; } From 932a5140385a165b8fa4732913b725026ef95dee Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 15:02:01 +1100 Subject: [PATCH 09/12] Updated TrialBalanceInternalDescriptionLbl text --- .../Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al index 59049d76a3..e0c8b4d7ab 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateColumnLayoutName.Codeunit.al @@ -196,6 +196,6 @@ codeunit 5401 "Create Column Layout Name" PeriodsDefinitionInternalDescriptionLbl: Label 'Three-column layout displaying net changes for the current period and two preceding periods using net change and net amount from ledger entries. This structure provides a quick view of short-term financial performance, enabling trend analysis across consecutive periods. Useful for mini charts, dashboards, and reports that highlight recent activity, helping management monitor fluctuations and make timely decisions based on current and prior period comparisons.', MaxLength = 500; PeriodsDefinitionLbl: Label 'Periods Definition for Mini Charts', MaxLength = 80; PeriodsDefinitionTok: Label 'PERIODS', MaxLength = 10; - TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debits, credits, and a formula ending balance (1+2-3). Useful for trial-balance reconciliation, tracking period activity, and validating period-end balances.', MaxLength = 500; + TrialBalanceInternalDescriptionLbl: Label 'Four-column layout showing beginning balance, debit and credit movements, and calculated ending balance using ledger entry amounts and a formula. This structure helps reconcile account activity and verify accuracy of postings. Useful for preparing trial balances, validating period-end balances, and ensuring that all transactions are correctly reflected in financial reports.', MaxLength = 500; TrialBalanceLbl: Label 'TB Beginning Balance Debits Credits Ending Balance', MaxLength = 80, Comment = 'TB - abbreviation of Trial Balance'; } From 9412903cde3a6b617abac4afa83b7c6d57321ec8 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 15:06:57 +1100 Subject: [PATCH 10/12] Updated internal description for US financial reports, column & row definitions --- .../1.Setup Data/CreateAccScheduleNameUS.Codeunit.al | 12 ++++++++---- .../CreateColumnLayoutNameUS.Codeunit.al | 9 ++++++--- .../1.Setup Data/CreateFinancialReportUS.Codeunit.al | 12 ++++++++---- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al index cabda624ce..608a8265be 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al @@ -16,10 +16,10 @@ codeunit 11492 "Create Acc. Schedule Name US" var ContosoAccountSchedule: Codeunit "Contoso Account Schedule"; begin - ContosoAccountSchedule.InsertAccScheduleName(BalanceSheet(), BalanceSheetLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetAudit(), BalanceSheetAuditLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(IncomeStatement(), IncomeStatementLbl, ''); - ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementAudit(), IncomeStatementAuditLbl, ''); + ContosoAccountSchedule.InsertAccScheduleName(BalanceSheet(), BalanceSheetLbl, '', BalanceSheetInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(BalanceSheetAudit(), BalanceSheetAuditLbl, '', BalanceSheetAuditInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(IncomeStatement(), IncomeStatementLbl, '', IncomeStatementInternalDescriptionLbl); + ContosoAccountSchedule.InsertAccScheduleName(IncomeStatementAudit(), IncomeStatementAuditLbl, '', IncomeStatementAuditInternalDescriptionLbl); end; @@ -65,4 +65,8 @@ codeunit 11492 "Create Acc. Schedule Name US" BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; IncomeStatementAuditLbl: Label 'Income Statement Audit Lead Schedule', MaxLength = 80; + BalanceSheetInternalDescriptionLbl: Label 'A comprehensive row layout presenting a full balance sheet structure with grouped sections for current assets, long-term assets, liabilities, and equity. This layout includes detailed account ranges and formulas to calculate totals such as total assets, total liabilities, and equity, ensuring alignment with accounting principles. Useful for financial position reporting, compliance statements, and period-end reconciliations.', MaxLength = 500; + BalanceSheetAuditInternalDescriptionLbl: Label 'An audit-focused balance sheet row layout with highly detailed sections for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity. This layout includes granular account-level rows and reconciliation formulas to validate totals and ensure accuracy across all components. Useful for audit preparation, variance analysis, and supporting detailed financial substantiation during compliance reviews.', MaxLength = 500; + IncomeStatementInternalDescriptionLbl: Label 'A comprehensive multi-section row layout structuring a full income statement with detailed sections for revenue, cost of goods, operating expenses, and calculated margins. This layout includes posting account ranges for product, job, and service revenue, materials, labor, overhead, and expenses, plus formulas for gross margin, operating totals, and net income or loss. Useful for comprehensive profitability reporting, variance analysis, and financial statement preparation.', MaxLength = 500; + IncomeStatementAuditInternalDescriptionLbl: Label 'An audit-focused row layout detailing a full income statement with granular breakdowns for revenue streams, cost of goods, and operating expenses. Includes posting account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Useful for audit lead schedules, variance analysis, and supporting financial statement verification.', MaxLength = 500; } \ No newline at end of file diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al index 5fd76faeae..70ea1d02ab 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al @@ -16,9 +16,9 @@ codeunit 11487 "Create Column Layout Name US" var ContosoAccountSchedule: Codeunit "Contoso Account Schedule"; begin - ContosoAccountSchedule.InsertColumnLayoutName(PeriodandYeartoDate(), PeriodandYeartoDateLbl); - ContosoAccountSchedule.InsertColumnLayoutName(PeriodandYeartoDatewithPercentofTotalRevenue(), PeriodandYeartoDatewithPercentofTotalRevenueLbl); - ContosoAccountSchedule.InsertColumnLayoutName(ThisYeartoDatevsPriorYeartoDate(), ThisYeartoDatevsPriorYeartoDateLbl); + ContosoAccountSchedule.InsertColumnLayoutName(PeriodandYeartoDate(), PeriodandYeartoDateLbl, PeriodandYeartoDateInternalDescriptionLbl); + ContosoAccountSchedule.InsertColumnLayoutName(PeriodandYeartoDatewithPercentofTotalRevenue(), PeriodandYeartoDatewithPercentofTotalRevenueLbl, PeriodandYeartoDatewithPercentTotalRevenueInternalDescriptionLbl); + ContosoAccountSchedule.InsertColumnLayoutName(ThisYeartoDatevsPriorYeartoDate(), ThisYeartoDatevsPriorYeartoDateLbl, ThisYeartoDatevsPriorYeartoDateInternalDescriptionLbl); end; procedure PeriodandYeartoDate(): Code[10] @@ -43,4 +43,7 @@ codeunit 11487 "Create Column Layout Name US" PeriodandYeartoDateLbl: Label 'Period and Year to Date', MaxLength = 80; PeriodandYeartoDatewithPercentofTotalRevenueLbl: Label 'Period and Year to Date with Percent of Total Revenue', MaxLength = 80; ThisYeartoDatevsPriorYeartoDateLbl: Label 'This Year to Date vs. Prior Year to Date', MaxLength = 80; + PeriodandYeartoDateInternalDescriptionLbl: Label 'Two-column layout displaying figures for the current period and year-to-date using net change and net amount from ledger entries. This structure provides a clear view of short-term performance alongside cumulative totals, enabling quick comparisons and trend analysis. Useful for income statement reporting, monitoring monthly results against overall progress, and supporting management decisions with accurate period and year-to-date financial insights.', MaxLength = 500; + PeriodandYeartoDatewithPercentTotalRevenueInternalDescriptionLbl: Label 'Four-column layout displaying current period and year-to-date amounts along with percentages of total revenue for each. Combines actual and budget data using net amounts from ledger entries and formulas for PTD% and YTD%. Ideal for monitoring short-term and cumulative performance, evaluating revenue contribution, and comparing actuals against budgets in financial analysis and reporting.', MaxLength = 500; + ThisYeartoDatevsPriorYeartoDateInternalDescriptionLbl: Label 'Five-column layout comparing current year-to-date and prior year-to-date amounts, including percentage contributions for each and a calculated difference column. Uses net amounts from ledger entries with formulas for CUR%, PRIOR%, and CUR-PRIOR. Useful for trend analysis, evaluating year-over-year performance, and identifying growth or decline across financial periods in reports.', MaxLength = 500; } diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al index 6edfb127e1..ae1b869718 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al @@ -18,10 +18,10 @@ codeunit 11497 "Create Financial Report US" ColumnLayoutNameUS: Codeunit "Create Column Layout Name US"; ContosoAccountSchedule: Codeunit "Contoso Account Schedule"; begin - ContosoAccountSchedule.InsertFinancialReport(BalanceSheet(), BalanceSheetLbl, BalanceSheet(), ColumnLayoutName.BalanceOnly()); - ContosoAccountSchedule.InsertFinancialReport(BalanceSheetAudit(), BalanceSheetAuditLbl, BalanceSheetAudit(), ColumnLayoutName.BalanceSheetTrend()); - ContosoAccountSchedule.InsertFinancialReport(IncomeStatement(), IncomeStatementLbl, IncomeStatement(), NetChangeTok); - ContosoAccountSchedule.InsertFinancialReport(IncomeStatementAudit(), IncomeStatementAuditLbl, IncomeStatementAudit(), ColumnLayoutNameUS.PeriodandYeartoDate()); + ContosoAccountSchedule.InsertFinancialReport(BalanceSheet(), BalanceSheetLbl, BalanceSheet(), ColumnLayoutName.BalanceOnly(), BalanceSheetInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(BalanceSheetAudit(), BalanceSheetAuditLbl, BalanceSheetAudit(), ColumnLayoutName.BalanceSheetTrend(), BalanceSheetAuditInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(IncomeStatement(), IncomeStatementLbl, IncomeStatement(), NetChangeTok, IncomeStatementInternalDescriptionLbl); + ContosoAccountSchedule.InsertFinancialReport(IncomeStatementAudit(), IncomeStatementAuditLbl, IncomeStatementAudit(), ColumnLayoutNameUS.PeriodandYeartoDate(), IncomeStatementAuditInternalDescriptionLbl); end; procedure BalanceSheet(): Code[10] @@ -54,4 +54,8 @@ codeunit 11497 "Create Financial Report US" BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; IncomeStatementAuditLbl: Label 'Income Statement Audit Lead Schedule', MaxLength = 80; + BalanceSheetAuditInternalDescriptionLbl: Label 'Provides an audit-focused balance sheet layout with detailed rows for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity, including reconciliation formulas for accuracy. Incorporates twelve columns showing month-end balances for the current fiscal year to highlight trends and seasonal changes. Useful for audit preparation, variance analysis, compliance reviews, and monitoring monthly financial position shifts.', MaxLength = 500; + BalanceSheetInternalDescriptionLbl: Label 'Presents a complete balance sheet structure with grouped sections for assets, liabilities, and equity, including formulas for totals like total assets and total liabilities. Shows data with a single-column balance snapshot as of a specific date for accurate figures. Useful for reporting financial position, preparing compliance statements, validating balances, and supporting period-end reconciliations and reviews.', MaxLength = 500; + IncomeStatementInternalDescriptionLbl: Label 'Structures a comprehensive multi-section income statement, detailing revenue, cost of goods, operating expenses, and calculated margins with account ranges for product, job, and service revenue, materials, labor, overhead, and expenses, plus formulas for gross margin, operating totals, and net income or loss. Displays figures in a single column showing net change for the selected period. Useful for profitability reporting, variance analysis, and accurate financial statement preparation.', MaxLength = 500; + IncomeStatementAuditInternalDescriptionLbl: Label 'Provides an audit-focused income statement layout with granular breakdowns, covering revenue streams, cost of goods, and operating expenses with account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Displays two columns for current period and year-to-date figures. Useful for audit lead schedules, variance analysis, and financial statement verification.', MaxLength = 500; } \ No newline at end of file From ad2d357420a66229334b369c8dbc81f4ed6d8f9d Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 15:08:30 +1100 Subject: [PATCH 11/12] Sorted variables --- .../CreateAccScheduleNameUS.Codeunit.al | 18 +++++++++--------- .../CreateColumnLayoutNameUS.Codeunit.al | 10 +++++----- .../CreateFinancialReportUS.Codeunit.al | 18 +++++++++--------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al index 608a8265be..d615ac5e95 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateAccScheduleNameUS.Codeunit.al @@ -55,18 +55,18 @@ codeunit 11492 "Create Acc. Schedule Name US" var - BalanceSheetTok: Label 'BS', MaxLength = 10, Comment = 'Balance Sheet'; + BalanceSheetAuditInternalDescriptionLbl: Label 'An audit-focused balance sheet row layout with highly detailed sections for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity. This layout includes granular account-level rows and reconciliation formulas to validate totals and ensure accuracy across all components. Useful for audit preparation, variance analysis, and supporting detailed financial substantiation during compliance reviews.', MaxLength = 500; + BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; BalanceSheetAuditTok: Label 'BS AUDIT', MaxLength = 10, Comment = 'Balance Sheet'; BalanceSheetDetailedTok: Label 'BS DET', MaxLength = 10, Comment = 'Balance Sheet Audit Lead Schedule'; - BalanceSheetSummarizedTok: Label 'BS SUM', MaxLength = 10, Comment = 'Balance Sheet Summarized'; - IncomeStatementTok: Label 'IS', MaxLength = 10, Comment = 'Income Statement'; - IncomeStatementAuditTok: Label 'IS AUDIT', MaxLength = 10, Comment = 'Income Statement Audit Lead Schedule'; + BalanceSheetInternalDescriptionLbl: Label 'A comprehensive row layout presenting a full balance sheet structure with grouped sections for current assets, long-term assets, liabilities, and equity. This layout includes detailed account ranges and formulas to calculate totals such as total assets, total liabilities, and equity, ensuring alignment with accounting principles. Useful for financial position reporting, compliance statements, and period-end reconciliations.', MaxLength = 500; BalanceSheetLbl: Label 'Balance Sheet', MaxLength = 80; - BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; - IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; + BalanceSheetSummarizedTok: Label 'BS SUM', MaxLength = 10, Comment = 'Balance Sheet Summarized'; + BalanceSheetTok: Label 'BS', MaxLength = 10, Comment = 'Balance Sheet'; + IncomeStatementAuditInternalDescriptionLbl: Label 'An audit-focused row layout detailing a full income statement with granular breakdowns for revenue streams, cost of goods, and operating expenses. Includes posting account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Useful for audit lead schedules, variance analysis, and supporting financial statement verification.', MaxLength = 500; IncomeStatementAuditLbl: Label 'Income Statement Audit Lead Schedule', MaxLength = 80; - BalanceSheetInternalDescriptionLbl: Label 'A comprehensive row layout presenting a full balance sheet structure with grouped sections for current assets, long-term assets, liabilities, and equity. This layout includes detailed account ranges and formulas to calculate totals such as total assets, total liabilities, and equity, ensuring alignment with accounting principles. Useful for financial position reporting, compliance statements, and period-end reconciliations.', MaxLength = 500; - BalanceSheetAuditInternalDescriptionLbl: Label 'An audit-focused balance sheet row layout with highly detailed sections for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity. This layout includes granular account-level rows and reconciliation formulas to validate totals and ensure accuracy across all components. Useful for audit preparation, variance analysis, and supporting detailed financial substantiation during compliance reviews.', MaxLength = 500; + IncomeStatementAuditTok: Label 'IS AUDIT', MaxLength = 10, Comment = 'Income Statement Audit Lead Schedule'; IncomeStatementInternalDescriptionLbl: Label 'A comprehensive multi-section row layout structuring a full income statement with detailed sections for revenue, cost of goods, operating expenses, and calculated margins. This layout includes posting account ranges for product, job, and service revenue, materials, labor, overhead, and expenses, plus formulas for gross margin, operating totals, and net income or loss. Useful for comprehensive profitability reporting, variance analysis, and financial statement preparation.', MaxLength = 500; - IncomeStatementAuditInternalDescriptionLbl: Label 'An audit-focused row layout detailing a full income statement with granular breakdowns for revenue streams, cost of goods, and operating expenses. Includes posting account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Useful for audit lead schedules, variance analysis, and supporting financial statement verification.', MaxLength = 500; + IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; + IncomeStatementTok: Label 'IS', MaxLength = 10, Comment = 'Income Statement'; } \ No newline at end of file diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al index 70ea1d02ab..c1fea2c95d 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateColumnLayoutNameUS.Codeunit.al @@ -37,13 +37,13 @@ codeunit 11487 "Create Column Layout Name US" end; var - PeriodandYeartoDateTok: Label 'PTD + YTD', MaxLength = 10; - PeriodandYeartoDatewithPercentofTotalRevenueTok: Label 'PTD+YTD+%', MaxLength = 10; - ThisYeartoDatevsPriorYeartoDateTok: Label 'YTDCOMPARE', MaxLength = 10; + PeriodandYeartoDateInternalDescriptionLbl: Label 'Two-column layout displaying figures for the current period and year-to-date using net change and net amount from ledger entries. This structure provides a clear view of short-term performance alongside cumulative totals, enabling quick comparisons and trend analysis. Useful for income statement reporting, monitoring monthly results against overall progress, and supporting management decisions with accurate period and year-to-date financial insights.', MaxLength = 500; PeriodandYeartoDateLbl: Label 'Period and Year to Date', MaxLength = 80; + PeriodandYeartoDateTok: Label 'PTD + YTD', MaxLength = 10; PeriodandYeartoDatewithPercentofTotalRevenueLbl: Label 'Period and Year to Date with Percent of Total Revenue', MaxLength = 80; - ThisYeartoDatevsPriorYeartoDateLbl: Label 'This Year to Date vs. Prior Year to Date', MaxLength = 80; - PeriodandYeartoDateInternalDescriptionLbl: Label 'Two-column layout displaying figures for the current period and year-to-date using net change and net amount from ledger entries. This structure provides a clear view of short-term performance alongside cumulative totals, enabling quick comparisons and trend analysis. Useful for income statement reporting, monitoring monthly results against overall progress, and supporting management decisions with accurate period and year-to-date financial insights.', MaxLength = 500; + PeriodandYeartoDatewithPercentofTotalRevenueTok: Label 'PTD+YTD+%', MaxLength = 10; PeriodandYeartoDatewithPercentTotalRevenueInternalDescriptionLbl: Label 'Four-column layout displaying current period and year-to-date amounts along with percentages of total revenue for each. Combines actual and budget data using net amounts from ledger entries and formulas for PTD% and YTD%. Ideal for monitoring short-term and cumulative performance, evaluating revenue contribution, and comparing actuals against budgets in financial analysis and reporting.', MaxLength = 500; ThisYeartoDatevsPriorYeartoDateInternalDescriptionLbl: Label 'Five-column layout comparing current year-to-date and prior year-to-date amounts, including percentage contributions for each and a calculated difference column. Uses net amounts from ledger entries with formulas for CUR%, PRIOR%, and CUR-PRIOR. Useful for trend analysis, evaluating year-over-year performance, and identifying growth or decline across financial periods in reports.', MaxLength = 500; + ThisYeartoDatevsPriorYeartoDateLbl: Label 'This Year to Date vs. Prior Year to Date', MaxLength = 80; + ThisYeartoDatevsPriorYeartoDateTok: Label 'YTDCOMPARE', MaxLength = 10; } diff --git a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al index ae1b869718..f7b9148f96 100644 --- a/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al +++ b/Apps/US/ContosoCoffeeDemoDatasetUS/app/DemoData/Finance/1.Setup Data/CreateFinancialReportUS.Codeunit.al @@ -45,17 +45,17 @@ codeunit 11497 "Create Financial Report US" end; var - BalanceSheetTok: Label 'BS', MaxLength = 10, Comment = 'Balance Sheet'; + BalanceSheetAuditInternalDescriptionLbl: Label 'Provides an audit-focused balance sheet layout with detailed rows for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity, including reconciliation formulas for accuracy. Incorporates twelve columns showing month-end balances for the current fiscal year to highlight trends and seasonal changes. Useful for audit preparation, variance analysis, compliance reviews, and monitoring monthly financial position shifts.', MaxLength = 500; + BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; BalanceSheetAuditTok: Label 'BS AUDIT', MaxLength = 10, Comment = 'Balance Sheet'; - IncomeStatementTok: Label 'IS', MaxLength = 10, Comment = 'Income Statement'; - IncomeStatementAuditTok: Label 'IS AUDIT', MaxLength = 10, Comment = 'Income Statement Audit Lead Schedule'; - NetChangeTok: Label 'M-NETCHANG', MaxLength = 10, Comment = 'Net Change'; + BalanceSheetInternalDescriptionLbl: Label 'Presents a complete balance sheet structure with grouped sections for assets, liabilities, and equity, including formulas for totals like total assets and total liabilities. Shows data with a single-column balance snapshot as of a specific date for accurate figures. Useful for reporting financial position, preparing compliance statements, validating balances, and supporting period-end reconciliations and reviews.', MaxLength = 500; BalanceSheetLbl: Label 'Balance Sheet', MaxLength = 80; - BalanceSheetAuditLbl: Label 'Balance Sheet Audit Lead Schedule', MaxLength = 80; - IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; + BalanceSheetTok: Label 'BS', MaxLength = 10, Comment = 'Balance Sheet'; + IncomeStatementAuditInternalDescriptionLbl: Label 'Provides an audit-focused income statement layout with granular breakdowns, covering revenue streams, cost of goods, and operating expenses with account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Displays two columns for current period and year-to-date figures. Useful for audit lead schedules, variance analysis, and financial statement verification.', MaxLength = 500; IncomeStatementAuditLbl: Label 'Income Statement Audit Lead Schedule', MaxLength = 80; - BalanceSheetAuditInternalDescriptionLbl: Label 'Provides an audit-focused balance sheet layout with detailed rows for cash, receivables, inventory, prepaid expenses, fixed assets, liabilities, and equity, including reconciliation formulas for accuracy. Incorporates twelve columns showing month-end balances for the current fiscal year to highlight trends and seasonal changes. Useful for audit preparation, variance analysis, compliance reviews, and monitoring monthly financial position shifts.', MaxLength = 500; - BalanceSheetInternalDescriptionLbl: Label 'Presents a complete balance sheet structure with grouped sections for assets, liabilities, and equity, including formulas for totals like total assets and total liabilities. Shows data with a single-column balance snapshot as of a specific date for accurate figures. Useful for reporting financial position, preparing compliance statements, validating balances, and supporting period-end reconciliations and reviews.', MaxLength = 500; + IncomeStatementAuditTok: Label 'IS AUDIT', MaxLength = 10, Comment = 'Income Statement Audit Lead Schedule'; IncomeStatementInternalDescriptionLbl: Label 'Structures a comprehensive multi-section income statement, detailing revenue, cost of goods, operating expenses, and calculated margins with account ranges for product, job, and service revenue, materials, labor, overhead, and expenses, plus formulas for gross margin, operating totals, and net income or loss. Displays figures in a single column showing net change for the selected period. Useful for profitability reporting, variance analysis, and accurate financial statement preparation.', MaxLength = 500; - IncomeStatementAuditInternalDescriptionLbl: Label 'Provides an audit-focused income statement layout with granular breakdowns, covering revenue streams, cost of goods, and operating expenses with account ranges for product, job, and service revenue, materials, labor, overhead, and detailed expense categories, plus formulas for gross margin, operating totals, and net income or loss. Displays two columns for current period and year-to-date figures. Useful for audit lead schedules, variance analysis, and financial statement verification.', MaxLength = 500; + IncomeStatementLbl: Label 'Income Statement', MaxLength = 80; + IncomeStatementTok: Label 'IS', MaxLength = 10, Comment = 'Income Statement'; + NetChangeTok: Label 'M-NETCHANG', MaxLength = 10, Comment = 'Net Change'; } \ No newline at end of file From 5469ac3b777bd9255f80cb1b97883748c7270491 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Thu, 18 Dec 2025 16:06:34 +1100 Subject: [PATCH 12/12] Appended Internal Report text for I_ reports --- .../1.Setup data/CreateAccScheduleName.Codeunit.al | 8 ++++---- .../2.Master data/CreateFinancialReport.Codeunit.al | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al index e837958db4..c29a1ff520 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/1.Setup data/CreateAccScheduleName.Codeunit.al @@ -116,16 +116,16 @@ codeunit 5223 "Create Acc. Schedule Name" CapitalStructureInternalDescriptionLbl: Label 'Sixteen-row layout analyzing liquidity and short-term obligations through structured grouping of current assets and liabilities. This layout includes detailed rows for liquid assets, receivables, inventory, WIP, and short-term liabilities, with formulas calculating totals and net positions. Useful for assessing working capital, liquidity ratios, and short-term financial health in management and compliance reporting.', MaxLength = 500; CapitalStructureLbl: Label 'Capital Structure', MaxLength = 80; CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; - CashCycleDataInternalDescriptionLbl: Label 'Eight-row layout calculating key metrics for cash cycle analysis, including total revenue, receivables, payables, and inventory balances. This layout incorporates formulas to derive days sales outstanding, days payment outstanding, days sales of inventory, and overall cash cycle in days. Useful for assessing working capital efficiency, optimizing payment terms, and improving liquidity management.', MaxLength = 500; + CashCycleDataInternalDescriptionLbl: Label 'Eight-row layout calculating key metrics for cash cycle analysis, including total revenue, receivables, payables, and inventory balances. This layout incorporates formulas to derive days sales outstanding, days payment outstanding, days sales of inventory, and overall cash cycle in days. Useful for assessing working capital efficiency, optimizing payment terms, and improving liquidity management. Internal row definition used for providing data for the Cash Cycle Chart.', MaxLength = 500; CashCycleDataLbl: Label 'Data for Cash Cycle Chart', MaxLength = 80; CashCycleDataTok: Label 'I_CACYCLE', MaxLength = 10; CashFlowCalculationInternalDescriptionLbl: Label 'Twenty-row layout designed for cash flow analysis, grouping cash receipts and disbursements by categories such as receivables, payables, open orders, investments, and miscellaneous transactions. This layout includes formulas for totals, surplus, and overall cash flow, using net change for dynamic period movements. Useful for liquidity planning, forecasting, and monitoring operational and investment cash positions.', MaxLength = 500; CashFlowCalculationLbl: Label 'Calculation Of Cash Flow', MaxLength = 80; CashFlowCalculationTok: Label 'CASHFLOW', MaxLength = 10; - CashFlowDataInternalDescriptionLbl: Label 'Four-row layout summarizing cash flow components with posting account ranges for receivables, payables, and liquid funds, plus a formula to calculate total cash flow. This layout uses balance at date with net amount for point-in-time financial positions, providing a clear snapshot of liquidity status. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations.', MaxLength = 500; + CashFlowDataInternalDescriptionLbl: Label 'Four-row layout summarizing cash flow components with posting account ranges for receivables, payables, and liquid funds, plus a formula to calculate total cash flow. This layout uses balance at date with net amount for point-in-time financial positions, providing a clear snapshot of liquidity status. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations. Internal row definition used for providing data for the Cash Flow Chart.', MaxLength = 500; CashFlowDataLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; CashFlowDataTok: Label 'I_CASHFLOW', MaxLength = 10; - IncomeExpenseDataInternalDescriptionLbl: Label 'Eight-row layout detailing income and expense components with posting account ranges for revenue, goods sold, external costs, personnel costs, depreciation, and other expenses. This layout includes formulas to calculate total expenditure and earnings before interest, using Net Change for accurate period performance tracking. Useful for profitability analysis, expense monitoring, and generating visual income-versus-cost comparisons for management reporting.', MaxLength = 500; + IncomeExpenseDataInternalDescriptionLbl: Label 'Eight-row layout detailing income and expense components with posting account ranges for revenue, goods sold, external costs, personnel costs, depreciation, and other expenses. This layout includes formulas to calculate total expenditure and earnings before interest, using Net Change for accurate period performance tracking. Useful for profitability analysis, expense monitoring, and management reporting. Internal row definition used for providing data for the Income & Expense Chart.', MaxLength = 500; IncomeExpenseDataLbl: Label 'Data for Income & Expense Chart', MaxLength = 80; IncomeExpenseDataTok: Label 'I_INCEXP', MaxLength = 10; IncomeStatementDetailedInternalDescriptionLbl: Label 'A detailed multi-section layout for a full income statement, including revenue categories, cost of goods, and operating expenses with posting account ranges for materials, labor, overhead, and expense types. This layout incorporates formulas for gross margin, operating totals, and net income or loss, using net change for accurate period performance. Useful for financial statement preparation, profitability analysis, and management reporting with detailed account-level visibility.', MaxLength = 500; @@ -134,7 +134,7 @@ codeunit 5223 "Create Acc. Schedule Name" IncomeStatementSummarizedInternalDescriptionLbl: Label 'Ten-row layout summarizing an Income Statement with posting account ranges for revenue, cost of goods, and operating expenses. Includes formulas for gross margin, gross margin percentage, and net income or loss, using net change for period-based performance tracking. Provides a simplified structure for quick financial review while maintaining key profitability indicators. Useful for high-level reporting, management summaries, and streamlined financial analysis.', MaxLength = 500; IncomeStatementSummarizedLbl: Label 'Income Statement Summarized', MaxLength = 80; IncomeStatementSummerizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; - ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Nine-row layout summarizing key trial balance metrics with posting account ranges for revenue, cost, operating expenses, and other expenses. This layout includes formulas for gross margin, operating margin, and their respective percentages, as well as income before interest and tax, all based on net change for period performance. Useful for quick profitability checks, margin analysis, and providing condensed financial insights for dashboards or info parts.', MaxLength = 500; + ReducedTrialBalanceDataInternalDescriptionLbl: Label 'Nine-row layout summarizing key trial balance metrics with posting account ranges for revenue, cost, operating expenses, and other expenses. This layout includes formulas for gross margin, operating margin, and their respective percentage, income before interest and tax, all based on net change for period performance. Useful for quick profitability checks, margin analysis, and providing financial insights. Internal row definition used for providing data for the Reduced Trial Balance Info Part.', MaxLength = 500; ReducedTrialBalanceDataLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; ReducedTrialBalanceDataTok: Label 'I_MINTRIAL', MaxLength = 10; RevenuesInternalDescriptionLbl: Label 'Fifteen-row layout focused on revenue categorization, including product sales, services, job-related income, and other income streams, with totals for retail and area-specific revenues. This layout consolidates multiple revenue sources into clear groupings and calculates overall totals for comprehensive reporting. Useful for revenue analysis, performance tracking, and preparing detailed income breakdowns.', MaxLength = 500; diff --git a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al index 6dc1ff195e..7215634938 100644 --- a/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al +++ b/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Finance/2.Master data/CreateFinancialReport.Codeunit.al @@ -125,8 +125,8 @@ codeunit 5425 "Create Financial Report" CapitalStructureLbl: Label 'Capital Structure', MaxLength = 80; CapitalStructureLblInternalDescriptionLbl: Label 'Analyzes liquidity and short-term obligations with a row layout grouping current assets, receivables, inventory, WIP, and short-term liabilities, calculating totals and net positions. Paired with a single-column balance snapshot as of a specific date. Useful for assessing working capital, liquidity ratios, and short-term financial health, supporting compliance, period-end reviews, and management reporting.', MaxLength = 500; CapitalStructureTok: Label 'ANALYSIS', MaxLength = 10; - CashCycleInternalDescriptionLbl: Label 'Calculates key cash cycle metrics, including revenue, receivables, payables, and inventory balances, with formulas for DSO, DPO, DSI, and overall cash cycle in days. Includes three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for assessing working capital efficiency, optimizing payment terms, improving liquidity management, and supporting dashboards and mini charts.', MaxLength = 500; - CashFlowInternalDescriptionLbl: Label 'Summarizes cash flow components, including receivables, payables, and liquid funds, with a formula to calculate total cash flow using balance at date for point-in-time positions. Incorporates three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations.', MaxLength = 500; + CashCycleInternalDescriptionLbl: Label 'Calculates key cash cycle metrics, including revenue, receivables, payables, and inventory balances, with formulas for DSO, DPO, DSI, and overall cash cycle in days. Includes three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for assessing working capital efficiency, optimizing payment terms, improving liquidity management, and supporting dashboards and mini charts. Internal report used for providing data for the Cash Cycle chart.', MaxLength = 500; + CashFlowInternalDescriptionLbl: Label 'Summarizes cash flow components, including receivables, payables, and liquid funds, with a formula to calculate total cash flow using balance at date for point-in-time positions. Incorporates three columns showing net changes for the current and two prior periods to enable short-term trend analysis. Useful for visual cash flow reporting, short-term financial planning, and monitoring available funds against obligations. Internal report used for providing data for the Cash Flow chart.', MaxLength = 500; DataForCashCycleChartLbl: Label 'Data for Cash Cycle Chart', MaxLength = 80; DataForCashCycleChartTok: Label 'I_CACYCLE', MaxLength = 10; DataForCashFlowChartLbl: Label 'Data for Cash Flow Chart', MaxLength = 80; @@ -135,14 +135,14 @@ codeunit 5425 "Create Financial Report" DataForIncomeExpenseChartTok: Label 'I_INCEXP', MaxLength = 10; DataForReducedTrialBalanceInfoPartLbl: Label 'Data for Reduced Trial Balance Info Part', MaxLength = 80; DataForReducedTrialBalanceInfoPartTok: Label 'I_MINTRIAL', MaxLength = 10; - IncExpInternalDescriptionLbl: Label 'Analyzes income and expense components, including revenue, goods sold, external costs, personnel costs, depreciation, and other expenses, with formulas for total expenditure and earnings before interest using net change for accurate period tracking. Incorporates three columns showing net changes for the current and two prior periods. Useful for profitability analysis, expense monitoring, and visual income-versus-cost comparisons for management reporting.', MaxLength = 500; + IncExpInternalDescriptionLbl: Label 'Analyzes income and expense components, including revenue, goods sold, external costs, personnel costs, depreciation, and other expenses, with formulas for total expenditure and earnings before interest using net change for accurate period tracking. Incorporates three columns showing net changes for the current and two prior periods. Useful for profitability analysis, expense monitoring, and management reporting. Internal report used for providing data for the Income & Expense chart.', MaxLength = 500; IncomeStatementDetailedInternalDescriptionLbl: Label 'Provides a detailed multi-section income statement layout, covering revenue categories, cost of goods, and operating expenses with account ranges for materials, labor, overhead, and expense types, plus formulas for gross margin, operating totals, and net income or loss using. Includes thirteen columns showing monthly net changes across the fiscal year with a total column. Useful for financial statement preparation, profitability analysis, trend monitoring, and management reporting.', MaxLength = 500; IncomeStatementDetailedLbl: Label 'Income Statement Detailed', MaxLength = 80; IncomeStatementDetailedTok: Label 'IS DET', MaxLength = 10, Comment = 'Income Statement Detailed'; IncomeStatementSummarizedInternalDescriptionLbl: Label 'Summarizes key income statement components, including revenue, cost of goods, and operating expenses, with formulas for gross margin, margin percentage, and net income or loss. Includes thirteen columns showing monthly net changes across the fiscal year plus a total column for cumulative performance. Useful for high-level reporting, management summaries, streamlined financial analysis, and monitoring profitability trends.', MaxLength = 500; IncomeStatementSummarizedLbl: Label 'Income Statement Summarized', MaxLength = 80; IncomeStatementSummarizedTok: Label 'IS SUM', MaxLength = 10, Comment = 'Income Statement Summarized'; - ReducedTrialBalInternalDescriptionLbl: Label 'Summarizes nine key trial balance metrics in a structured layout, covering revenue, cost, operating expenses, and other expenses, with formulas for gross margin, operating margin, their percentages, and income before interest and tax. Includes three columns showing net changes for the current and two prior periods. Useful for quick profitability checks, margin analysis, and delivering condensed financial insights for dashboards or info parts.', MaxLength = 500; + ReducedTrialBalInternalDescriptionLbl: Label 'Summarizes nine key trial balance metrics in a structured layout, covering revenue, cost, operating expenses, and other expenses, with formulas for gross margin, operating margin, their percentages, and income before interest and tax. Includes three columns showing net changes for the current and two prior periods. Useful for quick profitability checks, margin analysis, and delivering condensed financial insights. Internal report used for providing data for the Reduced Trial Balance info part.', MaxLength = 500; RevenuesInternalDescriptionLbl: Label 'Categorizes revenue streams, including product sales, services, job-related income, and other income sources, with totals for retail and area-specific revenues to consolidate reporting. Shows actual net change, budgeted amounts, variance percentage, and prior-year figures for performance comparison. Useful for revenue analysis, tracking budget accuracy, identifying variances, and evaluating year-over-year trends for financial planning.', MaxLength = 500; RevenuesLbl: Label 'Revenues', MaxLength = 80; RevenuesTok: Label 'REVENUE', MaxLength = 10;