Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5083
Table Type: Company
Table Name: Team
Database Table Name: CRONUS UK Ltd_$Team$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 Team can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Name]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[] AS [Team]
LEFT JOIN
[CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact]
ON
[Team].[Contact Filter] = [Contact].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser]
ON
[Team].[Salesperson Filter] = [Salesperson/Purchaser].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign]
ON
[Team].[Campaign Filter] = [Campaign].[No_]
LEFT JOIN
[User] AS [User]
ON
[Team].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Team].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Team table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
2 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
3 | Next Task Date | Next Task Date | FlowField | Date | 4 | ||
4 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
5 | Contact Filter | Contact Filter | FlowFilter | Code | 20 | ||
Key to join to the Contact table.Show/hide example querySELECT [Team].[] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Team].[] = [Contact].[No_] | |||||||
6 | Contact Company Filter | Contact Company Filter | FlowFilter | Code | 20 | ||
7 | Task Status Filter | Task Status Filter | FlowFilter | Option | 4 | ||
8 | Task Closed Filter | Task Closed Filter | FlowFilter | Boolean | 4 | ||
9 | Priority Filter | Priority Filter | FlowFilter | Option | 4 | ||
11 | Salesperson Filter | Salesperson Filter | FlowFilter | Code | 20 | ||
Key to join to the Salesperson/Purchaser table.Show/hide example querySELECT [Team].[] ,[Salesperson/Purchaser].[Code] FROM [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team] LEFT JOIN [CRONUS UK Ltd_$Salesperson_Purchaser$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salesperson/Purchaser] ON [Team].[] = [Salesperson/Purchaser].[Code] | |||||||
12 | Campaign Filter | Campaign Filter | FlowFilter | Code | 20 | ||
Key to join to the Campaign table.Show/hide example querySELECT [Team].[] ,[Campaign].[No_] FROM [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team] LEFT JOIN [CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign] ON [Team].[] = [Campaign].[No_] | |||||||
13 | Task Entry Exists | Task Entry 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 [Team].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Team$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Team] LEFT JOIN [User] AS [User] ON [Team].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |