Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2633
Table Type: Company
Table Name: Statistical Ledger Entry
Database Table Name: CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131
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 Statistical Ledger Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Statistical Account No_]
,[Posting Date]
,[Document No_]
,[Description]
,[Amount]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[User ID]
,[Journal Batch Name]
,[Transaction No_]
,[Reversed]
,[Reversed by Entry No_]
,[Reversed Entry No_]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Statistical Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 4 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 5 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 6 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 7 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Statistical Ledger Entry].[Shortcut Dimension 8 Code] = [Dimension].[Code]
LEFT JOIN
[User] AS [User]
ON
[Statistical Ledger Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Statistical Ledger Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Statistical Ledger Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
3 | Statistical Account No. | Statistical Account No. | Normal | Code | 20 | Statistical Account No_ | nvarchar(40) |
Key to join to the Statistical Account table.Show/hide example querySELECT [Statistical Ledger Entry].[Statistical Account No_] ,[Statistical Account].[No_] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Statistical Account$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Account] ON [Statistical Ledger Entry].[Statistical Account No_] = [Statistical Account].[No_] | |||||||
4 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
6 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
17 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
23 | Global Dimension 1 Code | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
24 | Global Dimension 2 Code | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
27 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
46 | Journal Batch Name | Journal Batch Name | Normal | Code | 10 | Journal Batch Name | nvarchar(20) |
52 | Transaction No. | Transaction No. | Normal | Integer | 4 | Transaction No_ | int |
73 | Reversed | Reversed | Normal | Boolean | 4 | Reversed | tinyint |
74 | Reversed by Entry No. | Reversed by Entry No. | Normal | Integer | 4 | Reversed by Entry No_ | int |
75 | Reversed Entry No. | Reversed Entry No. | Normal | Integer | 4 | Reversed Entry No_ | int |
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Statistical Ledger Entry].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Statistical Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
481 | Shortcut Dimension 3 Code | Shortcut Dimension 3 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
482 | Shortcut Dimension 4 Code | Shortcut Dimension 4 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
483 | Shortcut Dimension 5 Code | Shortcut Dimension 5 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
484 | Shortcut Dimension 6 Code | Shortcut Dimension 6 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
485 | Shortcut Dimension 7 Code | Shortcut Dimension 7 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
486 | Shortcut Dimension 8 Code | Shortcut Dimension 8 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Statistical Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Statistical Ledger Entry].[] = [Dimension].[Code] | |||||||
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 [Statistical Ledger Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Statistical Ledger Entry$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Ledger Entry] LEFT JOIN [User] AS [User] ON [Statistical Ledger Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |