Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2673
Table Type: Company
Table Name: Alloc. Acc. Manual Override
Database Table Name: CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972
Table Number: 2673Due 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. Acc. Manual Override can be queried.
SELECT
*
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972]
SELECT
[Parent Table Id]
,[Line No_]
,[Destination Account Type]
,[Destination Account Number]
,[Amount]
,[Allocation Account No_]
,[Percentage]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972]
SELECT
*
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Alloc. Acc. Manual Override].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Alloc. Acc. Manual Override].[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. Acc. Manual Override].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Alloc. Acc. Manual Override].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Alloc. Acc. Manual Override].[SystemModifiedBy] = [User].[User Security ID]
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|
1 | Parent Table Id  | Parent Table Id | Normal | Integer | 4 | Parent Table Id | int |
2 | Parent System Id  | Parent System Id | Normal | GUID | 16 | | |
3 | Line No.  | Line No. | Normal | Integer | 4 | Line No_ | int |
5 | Destination Account Type  | Destination Account Type | Normal | Option | 4 | Destination Account Type | int |
| Available options are:
- “G/L Account”
- “Bank Account”
- “Inherit from Parent”
|
6 | Destination Account Number  | Destination Account Number | Normal | Code | 20 | Destination Account Number | nvarchar(40) |
8 | Amount  | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
9 | Allocation Account No.  | Allocation Account No. | Normal | Code | 20 | Allocation Account No_ | nvarchar(40) |
| Key to join to the Allocation Account table.SELECT
[Alloc. Acc. Manual Override].[Allocation Account No_]
,[Allocation Account].[No_]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[CRONUS UK Ltd_$Allocation Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Allocation Account]
ON
[Alloc. Acc. Manual Override].[Allocation Account No_] = [Allocation Account].[No_] |
15 | Percentage  | Percentage | Normal | Decimal | 12 | Percentage | decimal(38,38) |
37 | Global Dimension 1 Code  | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
| Key to join to the Dimension table.SELECT
[Alloc. Acc. Manual Override].[Global Dimension 1 Code]
,[Dimension].[Code]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Alloc. Acc. Manual Override].[Global Dimension 1 Code] = [Dimension].[Code] |
38 | Global Dimension 2 Code  | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
| Key to join to the Dimension table.SELECT
[Alloc. Acc. Manual Override].[Global Dimension 2 Code]
,[Dimension].[Code]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Alloc. Acc. Manual Override].[Global Dimension 2 Code] = [Dimension].[Code] |
480 | Dimension Set ID  | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
| Key to join to the Dimension Set Entry table.SELECT
[Alloc. Acc. Manual Override].[Dimension Set ID]
,[Dimension Set Entry].[Dimension Set ID]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Alloc. Acc. Manual Override].[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.SELECT
[Alloc. Acc. Manual Override].[$systemCreatedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Alloc_ Acc_ Manual Override$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Alloc. Acc. Manual Override]
LEFT JOIN
[User] AS [User]
ON
[Alloc. Acc. Manual Override].[$systemCreatedBy] = [User].[User Security ID] |
2000000003 | SystemModifiedAt  | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy  | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |