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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Column Layout Name | Column Layout Name | Normal | Code | 10 | Column Layout Name | nvarchar(20) |
Key to join to the Column Layout Name table.Show/hide example querySELECT [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] | |||||||
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Column No. | Column No. | Normal | Code | 10 | Column No_ | nvarchar(20) |
4 | Column Header | Column Header | Normal | Text | 30 | Column Header | nvarchar(60) |
5 | Column Type | Column Type | Normal | Option | 4 | Column Type | int |
Available options are:
| |||||||
6 | Ledger Entry Type | Ledger Entry Type | Normal | Option | 4 | Ledger Entry Type | int |
Available options are:
| |||||||
7 | Amount Type | Amount Type | Normal | Option | 4 | Amount Type | int |
Available options are:
| |||||||
8 | Formula | Formula | Normal | Code | 80 | Formula | nvarchar(160) |
9 | Comparison Date Formula | Comparison Date Formula | Normal | DateFormula | 32 | Comparison Date Formula | varchar(32) |
10 | Show Opposite Sign | Show Opposite Sign | Normal | Boolean | 4 | Show Opposite Sign | tinyint |
11 | Show | Show | Normal | Option | 4 | Show | int |
Available options are:
| |||||||
12 | Rounding Factor | Rounding Factor | Normal | Option | 4 | Rounding Factor | int |
Available options are:
| |||||||
13 | Show Indented Lines | Show Indented Lines | Normal | Option | 4 | Show Indented Lines | int |
Available options are:
| |||||||
14 | Comparison Period Formula | Comparison Period Formula | Normal | Code | 20 | Comparison Period Formula | nvarchar(40) |
15 | Business Unit Totaling | Business Unit Totaling | Normal | Text | 80 | Business Unit Totaling | nvarchar(160) |
Key to join to the Business Unit table.Show/hide example querySELECT [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] | |||||||
16 | Dimension 1 Totaling | Dimension 1 Totaling | Normal | Text | 80 | Dimension 1 Totaling | nvarchar(160) |
17 | Dimension 2 Totaling | Dimension 2 Totaling | Normal | Text | 80 | Dimension 2 Totaling | nvarchar(160) |
18 | Dimension 3 Totaling | Dimension 3 Totaling | Normal | Text | 80 | Dimension 3 Totaling | nvarchar(160) |
19 | Dimension 4 Totaling | Dimension 4 Totaling | Normal | Text | 80 | Dimension 4 Totaling | nvarchar(160) |
20 | Cost Center Totaling | Cost Center Totaling | Normal | Text | 80 | Cost Center Totaling | nvarchar(160) |
21 | Cost Object Totaling | Cost Object Totaling | Normal | Text | 80 | Cost Object Totaling | nvarchar(160) |
30 | Comparison Period Formula LCID | Comparison Period Formula LCID | Normal | Integer | 4 | Comparison Period Formula LCID | int |
35 | Budget Name | Budget Name | Normal | Code | 10 | Budget Name | nvarchar(20) |
Key to join to the G/L Budget Name table.Show/hide example querySELECT [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] | |||||||
40 | Hide Currency Symbol | Hide Currency Symbol | Normal | Boolean | 4 | Hide Currency Symbol | tinyint |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |