Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6520
Table Type: Company
Table Name: Item Tracing Buffer
Database Table Name: CRONUS UK Ltd_$Item Tracing Buffer$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 Item Tracing Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Line No_]
,[Parent Item Ledger Entry No_]
,[Level]
,[Item No_]
,[Posting Date]
,[Entry Type]
,[Source Type]
,[Source No_]
,[Source Name]
,[Document No_]
,[Description]
,[Location Code]
,[Quantity]
,[Remaining Quantity]
,[Open]
,[Positive]
,[Variant Code]
,[Serial No_]
,[Lot No_]
,[Item Ledger Entry No_]
,[Created by]
,[Created on]
,[Record Identifier]
,[Item Description]
,[Already Traced]
,[Package No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Item Tracing Buffer].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Item Tracing Buffer].[Location Code] = [Location].[Code]
Show/hide columns in Item Tracing Buffer table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Line No_ ![]() ![]() | int | ||||
3 | Parent Item Ledger Entry No_ ![]() | int | ||||
4 | Level ![]() | int | ||||
5 | Item No_ ![]() | nvarchar(40) | ||||
Key to join to the Item table.Show/hide example querySELECT
[Item Tracing Buffer].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Item Tracing Buffer].[Item No_] = [Item].[No_] | ||||||
6 | Posting Date ![]() | datetime | ||||
7 | Entry Type ![]() | int | ||||
8 | Source Type ![]() | int | ||||
9 | Source No_ ![]() | nvarchar(40) | ||||
10 | Source Name ![]() | nvarchar(200) | ||||
11 | Document No_ ![]() | nvarchar(40) | ||||
12 | Description ![]() | nvarchar(200) | ||||
13 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Item Tracing Buffer].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Item Tracing Buffer].[Location Code] = [Location].[Code] | ||||||
14 | Quantity ![]() | decimal(38,38) | ||||
15 | Remaining Quantity ![]() | decimal(38,38) | ||||
16 | Open ![]() | tinyint | ||||
17 | Positive ![]() | tinyint | ||||
18 | Variant Code ![]() | nvarchar(20) | ||||
19 | Serial No_ ![]() | nvarchar(100) | ||||
20 | Lot No_ ![]() | nvarchar(100) | ||||
21 | Item Ledger Entry No_ ![]() | int | ||||
22 | Created by ![]() | nvarchar(100) | ||||
23 | Created on ![]() | datetime | ||||
24 | Record Identifier ![]() | varbinary(448) | ||||
25 | Item Description ![]() | nvarchar(200) | ||||
26 | Already Traced ![]() | tinyint | ||||
27 | Package No_ ![]() | nvarchar(100) | ||||
28 | $systemId ![]() | uniqueidentifier | ||||
29 | $systemCreatedAt ![]() | datetime | ||||
30 | $systemCreatedBy ![]() | uniqueidentifier | ||||
31 | $systemModifiedAt ![]() | datetime | ||||
32 | $systemModifiedBy ![]() | uniqueidentifier |