Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/8622
Table Type: Company
Table Name: Config. Line
Database Table Name: CRONUS UK Ltd_$Config_ Line$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 Config. Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Line No_]
,[Line Type]
,[Table ID]
,[Name]
,[Promoted Table]
,[Dimensions as Columns]
,[Copying Available]
,[Page ID]
,[Starting Date]
,[Ending Date]
,[Responsible ID]
,[Status]
,[Vertical Sorting]
,[Data Origin]
,[Reference]
,[Parent Line No_]
,[Package Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line]
LEFT JOIN
[CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
ON
[Config. Line].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
[Company] AS [Company]
ON
[Config. Line].[Company Filter] = [Company].[Name]
LEFT JOIN
[Company] AS [Company]
ON
[Config. Line].[Company Filter (Source Table)] = [Company].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
ON
[Config. Line].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
[User] AS [User]
ON
[Config. Line].[Responsible ID] = [User].[User Name]
LEFT JOIN
[CRONUS UK Ltd_$Config_ Package$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Package]
ON
[Config. Line].[Package Code] = [Config. Package].[Code]
LEFT JOIN
[User] AS [User]
ON
[Config. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Config. Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Config. Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
2 | Line Type | Line Type | Normal | Option | 4 | Line Type | int |
Available options are:
| |||||||
3 | Table ID | Table ID | Normal | Integer | 4 | Table ID | int |
Key to join to the Data Exch. Mapping table.Show/hide example querySELECT [Config. Line].[Table ID] ,[Data Exch. Mapping].[Table ID] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping] ON [Config. Line].[Table ID] = [Data Exch. Mapping].[Table ID] | |||||||
4 | Name | Name | Normal | Text | 250 | Name | nvarchar(500) |
5 | Company Filter | Company Filter | FlowFilter | Text | 30 | ||
Key to join to the Company table.Show/hide example querySELECT [Config. Line].[] ,[Company].[Name] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [Company] AS [Company] ON [Config. Line].[] = [Company].[Name] | |||||||
6 | Company Filter (Source Table) | Company Filter (Source Table) | FlowFilter | Text | 30 | ||
Key to join to the Company table.Show/hide example querySELECT [Config. Line].[] ,[Company].[Name] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [Company] AS [Company] ON [Config. Line].[] = [Company].[Name] | |||||||
8 | No. of Records | No. of Records | FlowField | Integer | 4 | ||
9 | No. of Records (Source Table) | No. of Records (Source Table) | FlowField | Integer | 4 | ||
10 | Licensed Table | Licensed Table | FlowField | Boolean | 4 | ||
11 | Promoted Table | Promoted Table | Normal | Boolean | 4 | Promoted Table | tinyint |
12 | Dimensions as Columns | Dimensions as Columns | Normal | Boolean | 4 | Dimensions as Columns | tinyint |
13 | Copying Available | Copying Available | Normal | Boolean | 4 | Copying Available | tinyint |
14 | Page ID | Page ID | Normal | Integer | 4 | Page ID | int |
15 | Page Caption | Page Caption | FlowField | Text | 250 | ||
18 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
19 | Ending Date | Ending Date | Normal | Date | 4 | Ending Date | datetime |
Key to join to the Inventory Period table.Show/hide example querySELECT [Config. Line].[Ending Date] ,[Inventory Period].[Ending Date] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period] ON [Config. Line].[Ending Date] = [Inventory Period].[Ending Date] | |||||||
20 | Responsible ID | Responsible ID | Normal | Code | 50 | Responsible ID | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Config. Line].[Responsible ID] ,[User].[User Name] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [User] AS [User] ON [Config. Line].[Responsible ID] = [User].[User Name] | |||||||
21 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
25 | Vertical Sorting | Vertical Sorting | Normal | Integer | 4 | Vertical Sorting | int |
26 | Data Origin | Data Origin | Normal | Text | 50 | Data Origin | nvarchar(100) |
28 | Reference | Reference | Normal | Text | 250 | Reference | nvarchar(500) |
30 | Licensed Page | Licensed Page | FlowField | Boolean | 4 | ||
31 | No. of Question Groups | No. of Question Groups | FlowField | Integer | 4 | ||
32 | Parent Line No. | Parent Line No. | Normal | Integer | 4 | Parent Line No_ | int |
36 | Package Code | Package Code | Normal | Code | 20 | Package Code | nvarchar(40) |
Key to join to the Config. Package table.Show/hide example querySELECT [Config. Line].[Package Code] ,[Config. Package].[Code] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [CRONUS UK Ltd_$Config_ Package$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Package] ON [Config. Line].[Package Code] = [Config. Package].[Code] | |||||||
37 | Package Caption | Package Caption | FlowField | Text | 50 | ||
38 | Package Exists | Package Exists | FlowField | Boolean | 4 | ||
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 [Config. Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Config_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Line] LEFT JOIN [User] AS [User] ON [Config. Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |