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