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