Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1637
Table Type: Company
Table Name: Office Suggested Line Item
Database Table Name: CRONUS UK Ltd_$Office Suggested Line 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 Office Suggested Line Item can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Office Suggested Line Item$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Line No_]
,[Add]
,[Item No_]
,[Item Description]
,[Quantity]
,[Matches]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Office Suggested Line 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_$Office Suggested Line Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Office Suggested Line Item]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Office Suggested Line Item].[Item No_] = [Item].[No_]
Show/hide columns in Office Suggested Line Item table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Line No_ ![]() ![]() | int | ||||
3 | Add ![]() | tinyint | ||||
4 | Item No_ ![]() | nvarchar(60) | ||||
Key to join to the Item table.Show/hide example querySELECT
[Office Suggested Line Item].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Office Suggested Line Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Office Suggested Line Item]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Office Suggested Line Item].[Item No_] = [Item].[No_] | ||||||
5 | Item Description ![]() | nvarchar(200) | ||||
6 | Quantity ![]() | int | ||||
7 | Matches ![]() | int | ||||
8 | $systemId ![]() | uniqueidentifier | ||||
9 | $systemCreatedAt ![]() | datetime | ||||
10 | $systemCreatedBy ![]() | uniqueidentifier | ||||
11 | $systemModifiedAt ![]() | datetime | ||||
12 | $systemModifiedBy ![]() | uniqueidentifier |