Statistical Ledger Entry

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

Table Number: 2633

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. SearchEntry No.NormalInteger4Entry No_int
3Statistical Account No. Primary Key SearchStatistical Account No.NormalCode20Statistical Account No_nvarchar(40)
Key to join to the Statistical Account table.

Show/hide example query

SELECT
	       [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_]
4Posting Date SearchPosting DateNormalDate4Posting Datedatetime
6Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
7Description SearchDescriptionNormalText100Descriptionnvarchar(200)
17Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
23Global Dimension 1 Code SearchGlobal Dimension 1 CodeNormalCode20Global Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
24Global Dimension 2 Code SearchGlobal Dimension 2 CodeNormalCode20Global Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
27User ID SearchUser IDNormalCode50User IDnvarchar(100)
46Journal Batch Name SearchJournal Batch NameNormalCode10Journal Batch Namenvarchar(20)
52Transaction No. SearchTransaction No.NormalInteger4Transaction No_int
73Reversed SearchReversedNormalBoolean4Reversedtinyint
74Reversed by Entry No. SearchReversed by Entry No.NormalInteger4Reversed by Entry No_int
75Reversed Entry No. SearchReversed Entry No.NormalInteger4Reversed Entry No_int
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
	       [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]
481Shortcut Dimension 3 Code SearchShortcut Dimension 3 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
482Shortcut Dimension 4 Code SearchShortcut Dimension 4 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
483Shortcut Dimension 5 Code SearchShortcut Dimension 5 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
484Shortcut Dimension 6 Code SearchShortcut Dimension 6 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
485Shortcut Dimension 7 Code SearchShortcut Dimension 7 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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]
486Shortcut Dimension 8 Code SearchShortcut Dimension 8 CodeFlowFieldCode20
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [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 SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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