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