Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7118
Table Type: Company
Table Name: Analysis Column
Database Table Name: CRONUS UK Ltd_$Analysis Column$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 Analysis Column can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Analysis Area]
,[Analysis Column Template]
,[Line No_]
,[Column No_]
,[Column Header]
,[Column Type]
,[Ledger Entry Type]
,[Formula]
,[Comparison Date Formula]
,[Show Opposite Sign]
,[Show]
,[Rounding Factor]
,[Comparison Period Formula]
,[Analysis Type Code]
,[Item Ledger Entry Type Filter]
,[Value Entry Type Filter]
,[Value Type]
,[Invoiced]
,[Comparison Period Formula LCID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column]
LEFT JOIN
[CRONUS UK Ltd_$Analysis Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Type]
ON
[Analysis Column].[Analysis Type Code] = [Analysis Type].[Code]
LEFT JOIN
[User] AS [User]
ON
[Analysis Column].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Analysis Column].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Analysis Column table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Analysis Area | Analysis Area | Normal | Option | 4 | Analysis Area | int |
Available options are:
| |||||||
2 | Analysis Column Template | Analysis Column Template | Normal | Code | 10 | Analysis Column Template | nvarchar(20) |
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | Column No. | Column No. | Normal | Code | 10 | Column No_ | nvarchar(20) |
5 | Column Header | Column Header | Normal | Text | 50 | Column Header | nvarchar(100) |
6 | Column Type | Column Type | Normal | Option | 4 | Column Type | int |
Available options are:
| |||||||
7 | Ledger Entry Type | Ledger Entry Type | Normal | Option | 4 | Ledger Entry 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 | Comparison Period Formula | Comparison Period Formula | Normal | Code | 20 | Comparison Period Formula | nvarchar(40) |
14 | Analysis Type Code | Analysis Type Code | Normal | Code | 10 | Analysis Type Code | nvarchar(20) |
Key to join to the Analysis Type table.Show/hide example querySELECT [Analysis Column].[Analysis Type Code] ,[Analysis Type].[Code] FROM [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column] LEFT JOIN [CRONUS UK Ltd_$Analysis Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Type] ON [Analysis Column].[Analysis Type Code] = [Analysis Type].[Code] | |||||||
15 | Item Ledger Entry Type Filter | Item Ledger Entry Type Filter | Normal | Text | 250 | Item Ledger Entry Type Filter | nvarchar(500) |
16 | Value Entry Type Filter | Value Entry Type Filter | Normal | Text | 250 | Value Entry Type Filter | nvarchar(500) |
17 | Value Type | Value Type | Normal | Option | 4 | Value Type | int |
Available options are:
| |||||||
18 | Invoiced | Invoiced | Normal | Boolean | 4 | Invoiced | tinyint |
30 | Comparison Period Formula LCID | Comparison Period Formula LCID | Normal | Integer | 4 | Comparison Period Formula LCID | int |
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 [Analysis Column].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column] LEFT JOIN [User] AS [User] ON [Analysis Column].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |