Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/152
Table Type: Company
Table Name: Resource Group
Database Table Name: CRONUS UK Ltd_$Resource Group$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 Resource Group can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Name]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[] AS [Resource Group]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Resource Group].[Unit of Measure Filter] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Resource Group].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Resource Group].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[User] AS [User]
ON
[Resource Group].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Resource Group].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Resource Group table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
22 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
23 | Capacity | Capacity | FlowField | Decimal | 12 | ||
24 | Qty. on Order (Job) | Qty. on Order (Job) | FlowField | Decimal | 12 | ||
25 | Qty. Quoted (Job) | Qty. Quoted (Job) | FlowField | Decimal | 12 | ||
26 | Unit of Measure Filter | Unit of Measure Filter | FlowFilter | Code | 10 | ||
Key to join to the Unit of Measure table.Show/hide example querySELECT [Resource Group].[] ,[Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] LEFT JOIN [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure] ON [Resource Group].[] = [Unit of Measure].[Code] | |||||||
27 | Usage (Qty.) | Usage (Qty.) | FlowField | Decimal | 12 | ||
28 | Usage (Cost) | Usage (Cost) | FlowField | Decimal | 12 | ||
29 | Usage (Price) | Usage (Price) | FlowField | Decimal | 12 | ||
30 | Sales (Qty.) | Sales (Qty.) | FlowField | Decimal | 12 | ||
31 | Sales (Cost) | Sales (Cost) | FlowField | Decimal | 12 | ||
32 | Sales (Price) | Sales (Price) | FlowField | Decimal | 12 | ||
33 | Chargeable Filter | Chargeable Filter | FlowFilter | Boolean | 4 | ||
34 | 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 [Resource Group].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Resource Group].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
35 | 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 [Resource Group].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Resource Group].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
36 | No. of Resources Assigned | No. of Resources Assigned | FlowField | Integer | 4 | ||
5900 | Qty. on Service Order | Qty. on Service Order | FlowField | Decimal | 12 | ||
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 [Resource Group].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] LEFT JOIN [User] AS [User] ON [Resource Group].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |