Column Layout

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/334

Table Type: Company

Table Name: Column Layout
Database Table Name: CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 334

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Column Layout can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Column Layout Name]
   ,[Line No_]
   ,[Column No_]
   ,[Column Header]
   ,[Column Type]
   ,[Ledger Entry Type]
   ,[Amount Type]
   ,[Formula]
   ,[Comparison Date Formula]
   ,[Show Opposite Sign]
   ,[Show]
   ,[Rounding Factor]
   ,[Show Indented Lines]
   ,[Comparison Period Formula]
   ,[Business Unit Totaling]
   ,[Dimension 1 Totaling]
   ,[Dimension 2 Totaling]
   ,[Dimension 3 Totaling]
   ,[Dimension 4 Totaling]
   ,[Cost Center Totaling]
   ,[Cost Object Totaling]
   ,[Comparison Period Formula LCID]
   ,[Budget Name]
   ,[Hide Currency Symbol]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout]
LEFT JOIN
   [CRONUS UK Ltd_$Column Layout Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout Name]
      ON
         [Column Layout].[Column Layout Name] = [Column Layout Name].[Name]
LEFT JOIN
   [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit]
      ON
         [Column Layout].[Business Unit Totaling] = [Business Unit].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
      ON
         [Column Layout].[Budget Name] = [G/L Budget Name].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Column Layout].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Column Layout].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Column Layout table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Column Layout Name SearchColumn Layout NameNormalCode10Column Layout Namenvarchar(20)
Key to join to the Column Layout Name table.

Show/hide example query

SELECT
	       [Column Layout].[Column Layout Name]
	       ,[Column Layout Name].[Name]
	FROM
	       [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout]
	LEFT JOIN
	       [CRONUS UK Ltd_$Column Layout Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout Name]
	              ON
	                     [Column Layout].[Column Layout Name] = [Column Layout Name].[Name]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Column No. Primary Key SearchColumn No.NormalCode10Column No_nvarchar(20)
4Column Header SearchColumn HeaderNormalText30Column Headernvarchar(60)
5Column Type SearchColumn TypeNormalOption4Column Typeint
Available options are:
  • “Formula”
  • “Net Change”
  • “Balance at Date”
  • “Beginning Balance”
  • “Year to Date”
  • “Rest of Fiscal Year”
  • “Entire Fiscal Year”
  • “Subsidiary”
6Ledger Entry Type SearchLedger Entry TypeNormalOption4Ledger Entry Typeint
Available options are:
  • “Entries”
  • “Budget Entries”
7Amount Type SearchAmount TypeNormalOption4Amount Typeint
Available options are:
  • “Net Amount”
  • “Debit Amount”
  • “Credit Amount”
8Formula SearchFormulaNormalCode80Formulanvarchar(160)
9Comparison Date Formula SearchComparison Date FormulaNormalDateFormula32Comparison Date Formulavarchar(32)
10Show Opposite Sign SearchShow Opposite SignNormalBoolean4Show Opposite Signtinyint
11Show SearchShowNormalOption4Showint
Available options are:
  • “Always”
  • “Never”
  • “When Positive”
  • “When Negative”
12Rounding Factor SearchRounding FactorNormalOption4Rounding Factorint
Available options are:
  • “None”
  • “1”
  • “1000”
  • “1000000”
13Show Indented Lines SearchShow Indented LinesNormalOption4Show Indented Linesint
Available options are:
  • “All”
  • “Indented Only”
  • “Non-Indented Only”
14Comparison Period Formula SearchComparison Period FormulaNormalCode20Comparison Period Formulanvarchar(40)
15Business Unit Totaling SearchBusiness Unit TotalingNormalText80Business Unit Totalingnvarchar(160)
Key to join to the Business Unit table.

Show/hide example query

SELECT
	       [Column Layout].[Business Unit Totaling]
	       ,[Business Unit].[Code]
	FROM
	       [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout]
	LEFT JOIN
	       [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit]
	              ON
	                     [Column Layout].[Business Unit Totaling] = [Business Unit].[Code]
16Dimension 1 Totaling SearchDimension 1 TotalingNormalText80Dimension 1 Totalingnvarchar(160)
17Dimension 2 Totaling SearchDimension 2 TotalingNormalText80Dimension 2 Totalingnvarchar(160)
18Dimension 3 Totaling SearchDimension 3 TotalingNormalText80Dimension 3 Totalingnvarchar(160)
19Dimension 4 Totaling SearchDimension 4 TotalingNormalText80Dimension 4 Totalingnvarchar(160)
20Cost Center Totaling SearchCost Center TotalingNormalText80Cost Center Totalingnvarchar(160)
21Cost Object Totaling SearchCost Object TotalingNormalText80Cost Object Totalingnvarchar(160)
30Comparison Period Formula LCID SearchComparison Period Formula LCIDNormalInteger4Comparison Period Formula LCIDint
35Budget Name SearchBudget NameNormalCode10Budget Namenvarchar(20)
Key to join to the G/L Budget Name table.

Show/hide example query

SELECT
	       [Column Layout].[Budget Name]
	       ,[G/L Budget Name].[Name]
	FROM
	       [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout]
	LEFT JOIN
	       [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
	              ON
	                     [Column Layout].[Budget Name] = [G/L Budget Name].[Name]
40Hide Currency Symbol SearchHide Currency SymbolNormalBoolean4Hide Currency Symboltinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Column Layout].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Column Layout$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Column Layout]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Column Layout].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Column Layout table

Leave a Reply

Your email address will not be published. Required fields are marked *