Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/307
Table Type: Company
Table Name: Inventory Buffer
Database Table Name: CRONUS UK Ltd_$Inventory 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 Inventory Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Item No_]
,[Variant Code]
,[Dimension Entry No_]
,[Location Code]
,[Bin Code]
,[Lot No_]
,[Serial No_]
,[Quantity]
,[Package No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Inventory 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_$Inventory Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Inventory Buffer].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Inventory Buffer].[Location Code] = [Location].[Code]
Show/hide columns in Inventory Buffer 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
[Inventory Buffer].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Inventory Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Inventory Buffer].[Item No_] = [Item].[No_] | ||||||
3 | Variant Code ![]() ![]() | nvarchar(20) | ||||
4 | Dimension Entry No_ ![]() ![]() | int | ||||
5 | Location Code ![]() ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Inventory Buffer].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Inventory Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Inventory Buffer].[Location Code] = [Location].[Code] | ||||||
6 | Bin Code ![]() ![]() | nvarchar(40) | ||||
7 | Lot No_ ![]() ![]() | nvarchar(100) | ||||
8 | Serial No_ ![]() ![]() | nvarchar(100) | ||||
9 | Quantity ![]() | decimal(38,38) | ||||
10 | Package No_ ![]() | nvarchar(100) | ||||
11 | $systemId ![]() | uniqueidentifier | ||||
12 | $systemCreatedAt ![]() | datetime | ||||
13 | $systemCreatedBy ![]() | uniqueidentifier | ||||
14 | $systemModifiedAt ![]() | datetime | ||||
15 | $systemModifiedBy ![]() | uniqueidentifier |