Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/156
Table Type: Company
Table Name: Resource
Database Table Name: CRONUS UK Ltd_$Resource$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 can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Type]
,[Name]
,[Search Name]
,[Name 2]
,[Address]
,[Address 2]
,[City]
,[Social Security No_]
,[Job Title]
,[Education]
,[Contract Class]
,[Employment Date]
,[Resource Group No_]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Base Unit of Measure]
,[Direct Unit Cost]
,[Indirect Cost _]
,[Unit Cost]
,[Profit _]
,[Price_Profit Calculation]
,[Unit Price]
,[Vendor No_]
,[Last Date Modified]
,[Blocked]
,[Gen_ Prod_ Posting Group]
,[Picture]
,[Post Code]
,[County]
,[Automatic Ext_ Texts]
,[No_ Series]
,[Tax Group Code]
,[VAT Prod_ Posting Group]
,[Country_Region Code]
,[IC Partner Purch_ G_L Acc_ No_]
,[Image]
,[Privacy Blocked]
,[Coupled to CRM]
,[Use Time Sheet]
,[Time Sheet Owner User ID]
,[Time Sheet Approver User ID]
,[Default Deferral Template Code]
,[Service Zone Filter]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Resource].[City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Resource].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Resource].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Resource].[Base Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Resource].[Unit of Measure Filter] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Resource].[Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group]
ON
[Resource].[Tax Group Code] = [Tax Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
ON
[Resource].[Time Sheet Owner User ID] = [User Setup].[User ID]
LEFT JOIN
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
ON
[Resource].[Time Sheet Approver User ID] = [User Setup].[User ID]
LEFT JOIN
[CRONUS UK Ltd_$Deferral Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Template]
ON
[Resource].[Default Deferral Template Code] = [Deferral Template].[Deferral Code]
LEFT JOIN
[CRONUS UK Ltd_$Service Zone$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Zone]
ON
[Resource].[Service Zone Filter] = [Service Zone].[Code]
LEFT JOIN
[User] AS [User]
ON
[Resource].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Resource].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Resource 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 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
3 | Name | Name | Normal | Text | 100 | Name | nvarchar(200) |
4 | Search Name | Search Name | Normal | Code | 100 | Search Name | nvarchar(200) |
5 | Name 2 | Name 2 | Normal | Text | 50 | Name 2 | nvarchar(100) |
6 | Address | Address | Normal | Text | 100 | Address | nvarchar(200) |
7 | Address 2 | Address 2 | Normal | Text | 50 | Address 2 | nvarchar(100) |
8 | City | City | Normal | Text | 30 | City | nvarchar(60) |
Key to join to the Post Code table.Show/hide example querySELECT [Resource].[City] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Resource].[City] = [Post Code].[City] | |||||||
9 | Social Security No. | Social Security No. | Normal | Text | 30 | Social Security No_ | nvarchar(60) |
10 | Job Title | Job Title | Normal | Text | 30 | Job Title | nvarchar(60) |
11 | Education | Education | Normal | Text | 30 | Education | nvarchar(60) |
12 | Contract Class | Contract Class | Normal | Text | 30 | Contract Class | nvarchar(60) |
13 | Employment Date | Employment Date | Normal | Date | 4 | Employment Date | datetime |
14 | Resource Group No. | Resource Group No. | Normal | Code | 20 | Resource Group No_ | nvarchar(40) |
Key to join to the Resource Group table.Show/hide example querySELECT [Resource].[Resource Group No_] ,[Resource Group].[No_] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] ON [Resource].[Resource Group No_] = [Resource Group].[No_] | |||||||
16 | 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].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Resource].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
17 | 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].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Resource].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
18 | Base Unit of Measure | Base Unit of Measure | Normal | Code | 10 | Base Unit of Measure | nvarchar(20) |
Key to join to the Unit of Measure table.Show/hide example querySELECT [Resource].[Base Unit of Measure] ,[Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure] ON [Resource].[Base Unit of Measure] = [Unit of Measure].[Code] | |||||||
19 | Direct Unit Cost | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
20 | Indirect Cost % | Indirect Cost % | Normal | Decimal | 12 | Indirect Cost _ | decimal(38,38) |
21 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
22 | Profit % | Profit % | Normal | Decimal | 12 | Profit _ | decimal(38,38) |
23 | Price/Profit Calculation | Price/Profit Calculation | Normal | Option | 4 | Price_Profit Calculation | int |
24 | Unit Price | Unit Price | Normal | Decimal | 12 | Unit Price | decimal(38,38) |
25 | Vendor No. | Vendor No. | Normal | Code | 20 | Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Resource].[Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Resource].[Vendor No_] = [Vendor].[No_] | |||||||
26 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
27 | Comment | Comment | FlowField | Boolean | 4 | ||
38 | Blocked | Blocked | Normal | Boolean | 4 | Blocked | tinyint |
39 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
40 | 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].[] ,[Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure] ON [Resource].[] = [Unit of Measure].[Code] | |||||||
41 | Capacity | Capacity | FlowField | Decimal | 12 | ||
42 | Qty. on Order (Job) | Qty. on Order (Job) | FlowField | Decimal | 12 | ||
43 | Qty. Quoted (Job) | Qty. Quoted (Job) | FlowField | Decimal | 12 | ||
44 | Usage (Qty.) | Usage (Qty.) | FlowField | Decimal | 12 | ||
45 | Usage (Cost) | Usage (Cost) | FlowField | Decimal | 12 | ||
46 | Usage (Price) | Usage (Price) | FlowField | Decimal | 12 | ||
47 | Sales (Qty.) | Sales (Qty.) | FlowField | Decimal | 12 | ||
48 | Sales (Cost) | Sales (Cost) | FlowField | Decimal | 12 | ||
49 | Sales (Price) | Sales (Price) | FlowField | Decimal | 12 | ||
50 | Chargeable Filter | Chargeable Filter | FlowFilter | Boolean | 4 | ||
51 | Gen. Prod. Posting Group | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [Resource].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Resource].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
52 | Picture | Picture | Normal | BLOB | 8 | Picture | image |
53 | Post Code | ZIP Code | Normal | Code | 20 | Post Code | nvarchar(40) |
Key to join to the Post Code table.Show/hide example querySELECT [Resource].[Post Code] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Resource].[Post Code] = [Post Code].[Code] | |||||||
54 | County | State | Normal | Text | 30 | County | nvarchar(60) |
55 | Automatic Ext. Texts | Automatic Ext. Text | Normal | Boolean | 4 | Automatic Ext_ Texts | tinyint |
56 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Resource].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Resource].[No_ Series] = [No. Series].[Code] | |||||||
57 | Tax Group Code | Tax Group Code | Normal | Code | 20 | Tax Group Code | nvarchar(40) |
Key to join to the Tax Group table.Show/hide example querySELECT [Resource].[Tax Group Code] ,[Tax Group].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group] ON [Resource].[Tax Group Code] = [Tax Group].[Code] | |||||||
58 | VAT Prod. Posting Group | VAT Prod. Posting Group | Normal | Code | 20 | VAT Prod_ Posting Group | nvarchar(40) |
Key to join to the VAT Product Posting Group table.Show/hide example querySELECT [Resource].[VAT Prod_ Posting Group] ,[VAT Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$VAT Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Product Posting Group] ON [Resource].[VAT Prod_ Posting Group] = [VAT Product Posting Group].[Code] | |||||||
59 | Country/Region Code | Country/Region Code | Normal | Code | 10 | Country_Region Code | nvarchar(20) |
60 | IC Partner Purch. G/L Acc. No. | IC Partner Purch. G/L Acc. No. | Normal | Code | 20 | IC Partner Purch_ G_L Acc_ No_ | nvarchar(40) |
61 | Unit Group Exists | Unit Group Exists | FlowField | Boolean | 4 | ||
140 | Image | Image | Normal | Media | 16 | Image | uniqueidentifier |
150 | Privacy Blocked | Privacy Blocked | Normal | Boolean | 4 | Privacy Blocked | tinyint |
720 | Coupled to CRM | Coupled to Dynamics 365 Sales | Normal | Boolean | 4 | Coupled to CRM | tinyint |
721 | Coupled to Dataverse | Coupled to Dynamics 365 Sales | FlowField | Boolean | 4 | ||
900 | Qty. on Assembly Order | Qty. on Assembly Order | FlowField | Decimal | 12 | ||
950 | Use Time Sheet | Use Time Sheet | Normal | Boolean | 4 | Use Time Sheet | tinyint |
951 | Time Sheet Owner User ID | Time Sheet Owner User ID | Normal | Code | 50 | Time Sheet Owner User ID | nvarchar(100) |
Key to join to the User Setup table.Show/hide example querySELECT [Resource].[Time Sheet Owner User ID] ,[User Setup].[User ID] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] ON [Resource].[Time Sheet Owner User ID] = [User Setup].[User ID] | |||||||
952 | Time Sheet Approver User ID | Time Sheet Approver User ID | Normal | Code | 50 | Time Sheet Approver User ID | nvarchar(100) |
Key to join to the User Setup table.Show/hide example querySELECT [Resource].[Time Sheet Approver User ID] ,[User Setup].[User ID] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] ON [Resource].[Time Sheet Approver User ID] = [User Setup].[User ID] | |||||||
1700 | Default Deferral Template Code | Default Deferral Template Code | Normal | Code | 10 | Default Deferral Template Code | nvarchar(20) |
Key to join to the Deferral Template table.Show/hide example querySELECT [Resource].[Default Deferral Template Code] ,[Deferral Template].[Deferral Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Deferral Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Template] ON [Resource].[Default Deferral Template Code] = [Deferral Template].[Deferral Code] | |||||||
5900 | Qty. on Service Order | Qty. on Service Order | FlowField | Decimal | 12 | ||
5901 | Service Zone Filter | Service Zone Filter | Normal | Code | 10 | Service Zone Filter | nvarchar(20) |
Key to join to the Service Zone table.Show/hide example querySELECT [Resource].[Service Zone Filter] ,[Service Zone].[Code] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [CRONUS UK Ltd_$Service Zone$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Zone] ON [Resource].[Service Zone Filter] = [Service Zone].[Code] | |||||||
5902 | In Customer Zone | In Customer Zone | 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 [Resource].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] LEFT JOIN [User] AS [User] ON [Resource].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |