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