Alloc. Account Distribution

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

Table Type: Company

Table Name: Alloc. Account Distribution
Database Table Name: CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 2671

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 Alloc. Account Distribution can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Allocation Account No_]
   ,[Line No_]
   ,[Account Type]
   ,[Share]
   ,[Percent]
   ,[Share Updated at]
   ,[Destination Account Type]
   ,[Destination Account Number]
   ,[Breakdown Account Type]
   ,[Breakdown Account Number]
   ,[Calculation Period]
   ,[Dimension 1 Filter]
   ,[Dimension 2 Filter]
   ,[Dimension 3 Filter]
   ,[Dimension 4 Filter]
   ,[Dimension 5 Filter]
   ,[Dimension 6 Filter]
   ,[Dimension 7 Filter]
   ,[Dimension 8 Filter]
   ,[Business Unit Code Filter]
   ,[Global Dimension 1 Code]
   ,[Global Dimension 2 Code]
   ,[Dimension Set ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Alloc. Account Distribution].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Alloc. Account Distribution].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
      ON
         [Alloc. Account Distribution].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Alloc. Account Distribution].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Alloc. Account Distribution].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Alloc. Account Distribution table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Allocation Account No. SearchAllocation Account No.NormalCode20Allocation Account No_nvarchar(40)
Key to join to the Allocation Account table.

Show/hide example query

SELECT
	       [Alloc. Account Distribution].[Allocation Account No_]
	       ,[Allocation Account].[No_]
	FROM
	       [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
	LEFT JOIN
	       [CRONUS UK Ltd_$Allocation Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Allocation Account]
	              ON
	                     [Alloc. Account Distribution].[Allocation Account No_] = [Allocation Account].[No_]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
4Account Type Primary Key SearchAccount typeNormalOption4Account Typeint
Available options are:
  • “Fixed”
  • “Variable”
6Share SearchShareNormalDecimal12Sharedecimal(38,38)
7Percent SearchPercentNormalDecimal12Percentdecimal(38,38)
8Share Updated at SearchShared Updated atNormalDateTime8Share Updated atdatetime
9Destination Account Type SearchDestination Account TypeNormalOption4Destination Account Typeint
Available options are:
  • “G/L Account”
  • “Bank Account”
  • “Inherit from Parent”
10Destination Account Number SearchDestination Account NumberNormalCode20Destination Account Numbernvarchar(40)
19Breakdown Account Type SearchBreakdown Account TypeNormalOption4Breakdown Account Typeint
Available options are:
  • “G/L Account”
  • “Bank Account”
  • “Statistical Account”
20Breakdown Account Number SearchBreakdown Account NumberNormalCode20Breakdown Account Numbernvarchar(40)
21Calculation Period SearchCalculation PeriodNormalOption4Calculation Periodint
Available options are:
  • “Balance at Date”
  • “Fiscal Year”
  • “Week”
  • “Last Week”
  • “Month”
  • “Last Month”
  • “Quarter”
  • “Last Quarter”
  • “Year”
  • “Last Year”
  • “Month of Last Year”
  • “Period”
  • “Last Period”
  • “Period of Last Year”
  • “Last Fiscal Year”
23Dimension 1 Filter SearchDimension 1 FilterNormalText1024Dimension 1 Filternvarchar(2048)
24Dimension 2 Filter SearchDimension 2 FilterNormalText1024Dimension 2 Filternvarchar(2048)
25Dimension 3 Filter SearchDimension 3 FilterNormalText1024Dimension 3 Filternvarchar(2048)
26Dimension 4 Filter SearchDimension 4 FilterNormalText1024Dimension 4 Filternvarchar(2048)
27Dimension 5 Filter SearchDimension 5 FilterNormalText1024Dimension 5 Filternvarchar(2048)
28Dimension 6 Filter SearchDimension 6 FilterNormalText1024Dimension 6 Filternvarchar(2048)
29Dimension 7 Filter SearchDimension 7 FilterNormalText1024Dimension 7 Filternvarchar(2048)
30Dimension 8 Filter SearchDimension 8 FilterNormalText1024Dimension 8 Filternvarchar(2048)
35Business Unit Code Filter SearchBusiness Unit Code FilterNormalText1024Business Unit Code Filternvarchar(2048)
37Global Dimension 1 Code SearchGlobal Dimension 1 CodeNormalCode20Global Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [Alloc. Account Distribution].[Global Dimension 1 Code]
	       ,[Dimension].[Code]
	FROM
	       [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
	              ON
	                     [Alloc. Account Distribution].[Global Dimension 1 Code] = [Dimension].[Code]
38Global Dimension 2 Code SearchGlobal Dimension 2 CodeNormalCode20Global Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [Alloc. Account Distribution].[Global Dimension 2 Code]
	       ,[Dimension].[Code]
	FROM
	       [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
	              ON
	                     [Alloc. Account Distribution].[Global Dimension 2 Code] = [Dimension].[Code]
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
	       [Alloc. Account Distribution].[Dimension Set ID]
	       ,[Dimension Set Entry].[Dimension Set ID]
	FROM
	       [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
	              ON
	                     [Alloc. Account Distribution].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
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
	       [Alloc. Account Distribution].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Alloc_ Account Distribution$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Account Distribution]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Alloc. Account Distribution].[$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 *