Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/220
Table Type: Company
Table Name: Business Unit
Database Table Name: CRONUS UK Ltd_$Business Unit$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 Business Unit can be queried.
Show/hide an example select of all columns
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Business Unit 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 | Consolidate ![]() ![]() | Consolidate | Normal | Boolean | 4 | Consolidate | tinyint |
3 | Consolidation % ![]() | Consolidation % | Normal | Decimal | 12 | Consolidation _ | decimal(38,38) |
4 | Starting Date ![]() | Starting Date | Normal | Date | 4 | Starting Date | datetime |
5 | Ending Date ![]() | Ending Date | Normal | Date | 4 | Ending Date | datetime |
Key to join to the Inventory Period table.Show/hide example query | |||||||
6 | Income Currency Factor ![]() | Income Currency Factor | Normal | Decimal | 12 | Income Currency Factor | decimal(38,38) |
7 | Balance Currency Factor ![]() | Balance Currency Factor | Normal | Decimal | 12 | Balance Currency Factor | decimal(38,38) |
8 | Exch. Rate Losses Acc. ![]() | Exch. Rate Losses Acc. | Normal | Code | 20 | Exch_ Rate Losses Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
9 | Exch. Rate Gains Acc. ![]() | Exch. Rate Gains Acc. | Normal | Code | 20 | Exch_ Rate Gains Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
10 | Residual Account ![]() | Residual Account | Normal | Code | 20 | Residual Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
11 | Last Balance Currency Factor ![]() | Last Balance Currency Factor | Normal | Decimal | 12 | Last Balance Currency Factor | decimal(38,38) |
12 | Name ![]() | Name | Normal | Text | 100 | Name | nvarchar(200) |
13 | Company Name ![]() | Company Name | Normal | Text | 30 | Company Name | nvarchar(60) |
Key to join to the Company table.Show/hide example query | |||||||
14 | Currency Code ![]() | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example query | |||||||
15 | Comp. Exch. Rate Gains Acc. ![]() | Comp. Exch. Rate Gains Acc. | Normal | Code | 20 | Comp_ Exch_ Rate Gains Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
16 | Comp. Exch. Rate Losses Acc. ![]() | Comp. Exch. Rate Losses Acc. | Normal | Code | 20 | Comp_ Exch_ Rate Losses Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
17 | Equity Exch. Rate Gains Acc. ![]() | Equity Exch. Rate Gains Acc. | Normal | Code | 20 | Equity Exch_ Rate Gains Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
18 | Equity Exch. Rate Losses Acc. ![]() | Equity Exch. Rate Losses Acc. | Normal | Code | 20 | Equity Exch_ Rate Losses Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
19 | Minority Exch. Rate Gains Acc. ![]() | Minority Exch. Rate Gains Acc. | Normal | Code | 20 | Minority Exch_ Rate Gains Acc_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
20 | Minority Exch. Rate Losses Acc ![]() | Minority Exch. Rate Losses Acc | Normal | Code | 20 | Minority Exch_ Rate Losses Acc | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example query | |||||||
21 | Currency Exchange Rate Table ![]() | Currency Exchange Rate Table | Normal | Option | 4 | Currency Exchange Rate Table | int |
Available options are:
| |||||||
22 | Data Source ![]() | Data Source | Normal | Option | 4 | Data Source | int |
Available options are:
| |||||||
23 | File Format ![]() | File Format | Normal | Option | 4 | File Format | int |
Available options are:
| |||||||
24 | Last Run ![]() | Last Run | Normal | Date | 4 | Last Run | datetime |
25 | Default Data Import Method ![]() | Default Data Import Method | Normal | Option | 4 | Default Data Import Method | int |
Available options are:
| |||||||
26 | BC API URL ![]() | BC API URL | Normal | Text | 2048 | BC API URL | nvarchar(4096) |
27 | AAD Tenant ID ![]() | Microsoft Entra tenant ID | Normal | GUID | 16 | AAD Tenant ID | uniqueidentifier |
28 | External Company Id ![]() | External Company Id | Normal | GUID | 16 | External Company Id | uniqueidentifier |
29 | External Company Name ![]() | External Company Name | Normal | Text | 1024 | External Company Name | nvarchar(2048) |
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 query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |