Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2581
Table Type: Company
Table Name: Dim Correction Change
Database Table Name: CRONUS UK Ltd_$Dim Correction Change$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 Dim Correction Change can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Dim Correction Change$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Dimension Correction Entry No_]
,[Dimension Code]
,[Dimension Value]
,[New Value]
,[New Value ID]
,[Change Type]
,[Dimension Values]
,[Dimension Value Count]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Dim Correction Change$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Dim Correction Change$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dim Correction Change]
LEFT JOIN
[User] AS [User]
ON
[Dim Correction Change].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Dim Correction Change].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Dim Correction Change table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Dimension Correction Entry No. | Dimension Correction Entry No. | Normal | Integer | 4 | Dimension Correction Entry No_ | int |
Key to join to the Dimension Correction table.Show/hide example querySELECT [Dim Correction Change].[Dimension Correction Entry No_] ,[Dimension Correction].[Entry No_] FROM [CRONUS UK Ltd_$Dim Correction Change$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dim Correction Change] LEFT JOIN [CRONUS UK Ltd_$Dimension Correction$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Correction] ON [Dim Correction Change].[Dimension Correction Entry No_] = [Dimension Correction].[Entry No_] | |||||||
2 | Dimension Code | Dimension Code | Normal | Code | 20 | Dimension Code | nvarchar(40) |
3 | Dimension Value | Dimension Value | Normal | Text | 100 | Dimension Value | nvarchar(200) |
4 | New Value | New Value | Normal | Text | 100 | New Value | nvarchar(200) |
5 | New Value ID | New Value ID | Normal | Integer | 4 | New Value ID | int |
6 | Change Type | Change Type | Normal | Option | 4 | Change Type | int |
Available options are:
| |||||||
10 | Dimension Values | Dimension Values | Normal | BLOB | 8 | Dimension Values | image |
11 | Dimension Value Count | Dimension Value Count | Normal | Integer | 4 | Dimension Value Count | 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 [Dim Correction Change].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Dim Correction Change$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dim Correction Change] LEFT JOIN [User] AS [User] ON [Dim Correction Change].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |