Trial Balance Entity Buffer

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5488

Table Type: Company

Table Name: Trial Balance Entity Buffer
Database Table Name: CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5488

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 Trial Balance Entity Buffer can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Name]
   ,[Net Change Debit]
   ,[Net Change Credit]
   ,[Balance at Date Debit]
   ,[Balance at Date Credit]
   ,[Date Filter]
   ,[Total Debit]
   ,[Total Credit]
   ,[Account Type]
   ,[Account Id]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Trial Balance Entity Buffer]
LEFT JOIN
   [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
      ON
         [Trial Balance Entity Buffer].[Account Id] = [G/L Account].[$systemId]
LEFT JOIN
   [User] AS [User]
      ON
         [Trial Balance Entity Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Trial Balance Entity Buffer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Trial Balance Entity Buffer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalCode20No_nvarchar(40)
2Name Primary Key SearchNameNormalText100Namenvarchar(200)
3Net Change Debit SearchNet Change DebitNormalText30Net Change Debitnvarchar(60)
4Net Change Credit SearchNet Change CreditNormalText30Net Change Creditnvarchar(60)
5Balance at Date Debit SearchBalance at Date DebitNormalText30Balance at Date Debitnvarchar(60)
6Balance at Date Credit SearchBalance at Date CreditNormalText30Balance at Date Creditnvarchar(60)
7Date Filter SearchDate FilterNormalDate4Date Filterdatetime
8Total Debit SearchTotal DebitNormalText30Total Debitnvarchar(60)
9Total Credit SearchTotal CreditNormalText30Total Creditnvarchar(60)
10Account Type SearchAccount TypeNormalOption4Account Typeint
Available options are:
  • “Posting”
  • “Heading”
  • “Total”
  • “Begin-Total”
  • “End-Total”
11Account Id SearchAccount IdNormalGUID16Account Iduniqueidentifier
Key to join to the G/L Account table.

Show/hide example query

SELECT
	       [Trial Balance Entity Buffer].[Account Id]
	       ,[G/L Account].[$systemId]
	FROM
	       [CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Trial Balance Entity Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
	              ON
	                     [Trial Balance Entity Buffer].[Account Id] = [G/L Account].[$systemId]
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
	       [Trial Balance Entity Buffer].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Trial Balance Entity Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Trial Balance Entity Buffer]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Trial Balance Entity Buffer].[$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 *