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
[timestamp]
,[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_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Resource].[Vendor No_] = [Vendor].[No_]
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_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[Resource].[Country_Region Code] = [Country_Region].[Code]
Show/hide columns in Resource table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | No_ ![]() ![]() | nvarchar(40) | ||||
3 | Type ![]() | int | ||||
4 | Name ![]() | nvarchar(200) | ||||
5 | Search Name ![]() | nvarchar(200) | ||||
6 | Name 2 ![]() | nvarchar(100) | ||||
7 | Address ![]() | nvarchar(200) | ||||
8 | Address 2 ![]() | nvarchar(100) | ||||
9 | City ![]() | nvarchar(60) | ||||
10 | Social Security No_ ![]() | nvarchar(60) | ||||
11 | Job Title ![]() | nvarchar(60) | ||||
12 | Education ![]() | nvarchar(60) | ||||
13 | Contract Class ![]() | nvarchar(60) | ||||
14 | Employment Date ![]() | datetime | ||||
15 | Resource Group No_ ![]() | nvarchar(40) | ||||
16 | Global Dimension 1 Code ![]() | nvarchar(40) | ||||
17 | Global Dimension 2 Code ![]() | nvarchar(40) | ||||
18 | Base Unit of Measure ![]() | nvarchar(20) | ||||
19 | Direct Unit Cost ![]() | decimal(38,38) | ||||
20 | Indirect Cost _ ![]() | decimal(38,38) | ||||
21 | Unit Cost ![]() | decimal(38,38) | ||||
22 | Profit _ ![]() | decimal(38,38) | ||||
23 | Price_Profit Calculation ![]() | int | ||||
24 | Unit Price ![]() | decimal(38,38) | ||||
25 | 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 ![]() | datetime | ||||
27 | Blocked ![]() | tinyint | ||||
28 | Gen_ Prod_ Posting Group ![]() | nvarchar(40) | ||||
29 | Picture ![]() | image | ||||
30 | Post Code ![]() | nvarchar(40) | ||||
31 | County ![]() | nvarchar(60) | ||||
32 | Automatic Ext_ Texts ![]() | tinyint | ||||
33 | No_ Series ![]() | nvarchar(40) | ||||
34 | 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] | ||||||
35 | VAT Prod_ Posting Group ![]() | nvarchar(40) | ||||
36 | Country_Region Code ![]() | nvarchar(20) | ||||
Key to join to the Country_Region table.Show/hide example querySELECT
[Resource].[Country_Region Code]
,[Country_Region].[Code]
FROM
[CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
LEFT JOIN
[CRONUS UK Ltd_$Country_Region$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Country_Region]
ON
[Resource].[Country_Region Code] = [Country_Region].[Code] | ||||||
37 | IC Partner Purch_ G_L Acc_ No_ ![]() | nvarchar(40) | ||||
38 | Image ![]() | uniqueidentifier | ||||
39 | Privacy Blocked ![]() | tinyint | ||||
40 | Coupled to CRM ![]() | tinyint | ||||
41 | Use Time Sheet ![]() | tinyint | ||||
42 | Time Sheet Owner User ID ![]() | nvarchar(100) | ||||
43 | Time Sheet Approver User ID ![]() | nvarchar(100) | ||||
44 | Default Deferral Template Code ![]() | nvarchar(20) | ||||
45 | Service Zone Filter ![]() | nvarchar(20) | ||||
46 | $systemId ![]() | uniqueidentifier | ||||
47 | $systemCreatedAt ![]() | datetime | ||||
48 | $systemCreatedBy ![]() | uniqueidentifier | ||||
49 | $systemModifiedAt ![]() | datetime | ||||
50 | $systemModifiedBy ![]() | uniqueidentifier |