Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5952
Table Type: Company
Table Name: Resource Location
Database Table Name: CRONUS UK Ltd_$Resource Location$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 Location can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Resource Location$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Location Code]
,[Resource No_]
,[Starting Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Resource Location$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 Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Location]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Resource Location].[Location Code] = [Location].[Code]
Show/hide columns in Resource Location table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Location Code ![]() ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Resource Location].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Resource Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Location]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Resource Location].[Location Code] = [Location].[Code] | ||||||
3 | Resource No_ ![]() ![]() | nvarchar(40) | ||||
4 | Starting Date ![]() ![]() | datetime | ||||
5 | $systemId ![]() | uniqueidentifier | ||||
6 | $systemCreatedAt ![]() | datetime | ||||
7 | $systemCreatedBy ![]() | uniqueidentifier | ||||
8 | $systemModifiedAt ![]() | datetime | ||||
9 | $systemModifiedBy ![]() | uniqueidentifier |