Table "Column Layout"
Defines column layout structure for account schedule reports and analysis. Contains period formulas, display options, dimension filters, and calculation parameters for financial reporting columns.
Remarks
Key relationships: Column Layout Name, Account Schedule Line calculations, Analysis Views. Extensible via table extensions for custom column types and additional filtering dimensions. Integrates with budget systems, cost accounting, and multi-dimensional analysis reporting.
Properties
| Name | Value |
|---|---|
| Caption | Column Layout |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Column Layout Name" | Code[10] | Column layout name that groups related column definitions for account schedule reporting. |
| "Line No." | Integer | Unique line number identifying column position within the column layout. |
| "Column No." | Code[10] | Column identifier displayed in account schedule headers and used for formula references. |
| "Column Header" | Text[30] | Display header text shown at the top of the column in account schedule reports. |
| "Column Type" | Enum Microsoft.Finance.FinancialReports."Column Layout Type" | Column type determining calculation method and data source for the column values. |
| "Ledger Entry Type" | Enum Microsoft.Finance.FinancialReports."Column Layout Entry Type" | Ledger entry type filter constraining calculation to specific entry sources such as G/L or budget entries. |
| "Amount Type" | Enum Microsoft.Finance.FinancialReports."Account Schedule Amount Type" | Amount type specifying whether to use net change, balance, or budget amounts in calculations. |
| Formula | Code[80] | Formula expression for calculating column values using references to other columns and mathematical operations. |
| "Comparison Date Formula" | DateFormula | Date formula for calculating comparison periods relative to the current date filter in account schedule reporting. |
| "Show Opposite Sign" | Boolean | Reverses the sign of calculated amounts for display purposes in financial reports. |
| Show | Enum Microsoft.Finance.FinancialReports."Column Layout Show" | Display option controlling when column values are shown based on positive, negative, or zero values. |
| "Rounding Factor" | Enum Microsoft.Foundation.Enums."Analysis Rounding Factor" | Rounding factor applied to column values for simplified display in financial reports. |
| "Show Indented Lines" | Option | Controls display of indented account schedule lines within the column calculations. |
| "Comparison Period Formula" | Code[20] | Period formula expression for advanced period calculations with locale-specific formatting support. |
| "Business Unit Totaling" | Text[80] | Business unit filter for consolidation reporting and multi-company financial analysis. |
| "Dimension 1 Totaling" | Text[80] | Dimension 1 filter for detailed financial analysis by primary classification dimension. |
| "Dimension 2 Totaling" | Text[80] | Dimension 2 filter for detailed financial analysis by secondary classification dimension. |
| "Dimension 3 Totaling" | Text[80] | Dimension 3 filter for extended dimensional analysis using analysis view configuration. |
| "Dimension 4 Totaling" | Text[80] | Dimension 4 filter for extended dimensional analysis using analysis view configuration. |
| "Cost Center Totaling" | Text[80] | Cost center filter for cost accounting analysis and departmental reporting. |
| "Cost Object Totaling" | Text[80] | Cost object filter for cost accounting analysis and project-based reporting. |
| "Comparison Period Formula LCID" | Integer | Locale identifier for period formula parsing to support international date format requirements. |
| "Budget Name" | Code[10] | G/L budget name for budget-based column calculations and variance analysis. |
| "Hide Currency Symbol" | Boolean | Hides currency symbol display in formula-based columns for simplified numeric presentation. |
| "Include Date In Header" | Enum Microsoft.Finance.FinancialReports.ColumnHeaderDateType | Controls how date filter ending date is displayed in column headers for period identification. |
| "G/L Account Totaling" | Text[250] | G/L account filter constraining calculations to specific chart of accounts ranges. |
| "Show in ACY" | Boolean | Specifies whether amounts are shown in the Additional Reporting Currency. |
| "Internal Description" | Text[500] | Specifies the internal description for the column definition line that highlights complex logic or areas needing review for the next report designer. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
ParsePeriodFormula
Obsolete
This element will become obsolete from version 27.0. Moved to codeunit Period Formula Parser
Parses period formula expression into component values for period calculation processing.
[Obsolete(Moved to codeunit Period Formula Parser,27.0)]
procedure ParsePeriodFormula(FormulaExpression: Code[20]; var Steps: Integer; var Type: Enum "Period Type"; var RangeFromType: Enum "Period Formula Range"; var RangeToType: Enum "Period Formula Range"; var RangeFromInt: Integer; var RangeToInt: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| FormulaExpression | Code[20] |
Period formula code to parse into components |
| Steps | Integer |
Number of period steps calculated from formula |
| Type | Enum Microsoft.Foundation.Period."Period Type" |
Period type determined from formula expression |
| RangeFromType | Enum Microsoft.Foundation.Period."Period Formula Range" |
Starting range type for period calculation |
| RangeToType | Enum Microsoft.Foundation.Period."Period Formula Range" |
Ending range type for period calculation |
| RangeFromInt | Integer |
Starting range integer value |
| RangeToInt | Integer |
Ending range integer value |
LookUpDimFilter
Opens dimension value lookup dialog and returns selected dimension filter expression. Handles both standard dimensions and cost accounting dimension mappings.
procedure LookUpDimFilter(DimNo: Integer; var Text: Text[250]): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| DimNo | Integer |
Dimension number identifying which dimension to filter (1-4) |
| Text | Text[250] |
Dimension filter text updated with selected values |
Returns
| Type | Description |
|---|---|
| Boolean |
True if dimension values were selected, false if lookup was cancelled |
GetCaptionClass
Retrieves caption class text for dimension field captions based on analysis view configuration. Supports dynamic field captioning for dimensions 1-4 in financial reporting interfaces.
procedure GetCaptionClass(AnalysisViewDimType: Integer): Text[250]
Parameters
| Name | Type | Description |
|---|---|---|
| AnalysisViewDimType | Integer |
Analysis view dimension type number (1-4) for caption lookup |
Returns
| Type | Description |
|---|---|
| Text[250] |
Caption class text for dimension field display formatting |
LookupGLAccountTotaling
procedure LookupGLAccountTotaling()
GetPeriodName
Obsolete
This element will become obsolete from version 27.0. Moved to codeunit Period Formula Parser
Retrieves current period name for display purposes in financial reporting.
[Obsolete(Moved to codeunit Period Formula Parser,27.0)]
procedure GetPeriodName(): Code[10]
Returns
| Type | Description |
|---|---|
| Code[10] |
Period name code for current period identification |
Events
OnBeforeGetCaptionClass
Integration event raised before retrieving caption class for dimension field display.
[IntegrationEvent(False,False)]
local procedure OnBeforeGetCaptionClass(var ColumnLayout: Record "Column Layout"; ColumnLayoutName: Record "Column Layout Name"; AnalysisViewDimType: Integer; var Result: Text[250]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| ColumnLayout | Table Microsoft.Finance.FinancialReports."Column Layout" |
Column layout record containing dimension configuration |
| ColumnLayoutName | Table Microsoft.Finance.FinancialReports."Column Layout Name" |
Column layout name with analysis view settings |
| AnalysisViewDimType | Integer |
Dimension type number for caption lookup |
| Result | Text[250] |
Caption class result to be returned |
| IsHandled | Boolean |
Set to true to override standard caption class logic |
OnBeforeLookUpDimFilter
Integration event raised before opening dimension filter lookup dialog.
[IntegrationEvent(False,False)]
local procedure OnBeforeLookUpDimFilter(var ColumnLayout: Record "Column Layout"; DimNo: Integer; var Text: Text[250]; ColumnLayoutName: Record "Column Layout Name"; var Result: Boolean; var IsHandled: Boolean; var AnalysisView: Record "Analysis View")
Parameters
| Name | Type | Description |
|---|---|---|
| ColumnLayout | Table Microsoft.Finance.FinancialReports."Column Layout" |
Column layout record requesting dimension filter |
| DimNo | Integer |
Dimension number being filtered |
| Text | Text[250] |
Current dimension filter text |
| ColumnLayoutName | Table Microsoft.Finance.FinancialReports."Column Layout Name" |
Column layout name with analysis view context |
| Result | Boolean |
Lookup result to be returned |
| IsHandled | Boolean |
Set to true to override standard dimension lookup |
| AnalysisView | Table Microsoft.Finance.Analysis."Analysis View" |
Analysis view record with dimension configuration |