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