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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 20 | Code | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
4 | Account No. | Account No. | Normal | Code | 20 | Account No_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [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_] | |||||||
5 | 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 [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] | |||||||
6 | 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 [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] | |||||||
7 | Allocation % | Allocation % | Normal | Decimal | 12 | Allocation _ | decimal(38,38) |
8 | Allocation Type | Allocation Type | Normal | Option | 4 | Allocation Type | int |
Available options are:
| |||||||
9 | Account Name | Account Name | FlowField | Text | 100 | ||
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 [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 | 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 [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |