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