FA Allocation

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

Table Type: Company

Table Name: FA Allocation
Database Table Name: CRONUS UK Ltd_$FA Allocation$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5615

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 FA Allocation can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$FA Allocation$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Code]
   ,[Line No_]
   ,[Description]
   ,[Account No_]
   ,[Global Dimension 1 Code]
   ,[Global Dimension 2 Code]
   ,[Allocation _]
   ,[Allocation Type]
   ,[Dimension Set ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$FA Allocation$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in FA Allocation table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Code SearchCodeNormalCode20Codenvarchar(40)
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Description Primary Key SearchDescriptionNormalText100Descriptionnvarchar(200)
4Account No. SearchAccount No.NormalCode20Account No_nvarchar(40)
Key to join to the G/L Account table.

Show/hide example query

SELECT
	       [FA Allocation].[Account No_]
	       ,[G/L Account].[No_]
	FROM
	       [CRONUS UK Ltd_$FA Allocation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Allocation]
	LEFT JOIN
	       [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
	              ON
	                     [FA Allocation].[Account No_] = [G/L Account].[No_]
5Global Dimension 1 Code SearchGlobal Dimension 1 CodeNormalCode20Global Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

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

Show/hide example query

SELECT
	       [FA Allocation].[Global Dimension 2 Code]
	       ,[Dimension].[Code]
	FROM
	       [CRONUS UK Ltd_$FA Allocation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [FA Allocation]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
	              ON
	                     [FA Allocation].[Global Dimension 2 Code] = [Dimension].[Code]
7Allocation % SearchAllocation %NormalDecimal12Allocation _decimal(38,38)
8Allocation Type SearchAllocation TypeNormalOption4Allocation Typeint
Available options are:
  • “Acquisition”
  • “Depreciation”
  • “Write-Down”
  • “Appreciation”
  • “Custom 1”
  • “Custom 2”
  • “Disposal”
  • “Maintenance”
  • “Gain”
  • “Loss”
  • “Book Value (Gain)”
  • “Book Value (Loss)”
9Account Name Primary Key SearchAccount NameFlowFieldText100
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

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