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
[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_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Item Tracing Buffer].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Item Tracing Buffer].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Item Tracing Buffer].[Created By] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Item Tracing Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Item Tracing Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Item Tracing Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
2 | Parent Item Ledger Entry No. | Parent Item Ledger Entry No. | Normal | Integer | 4 | Parent Item Ledger Entry No_ | int |
3 | Level | Level | Normal | Integer | 4 | Level | int |
4 | Item No. | Item No. | Normal | Code | 20 | 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$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Item Tracing Buffer].[Item No_] = [Item].[No_] | |||||||
5 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
6 | Entry Type | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
7 | Source Type | Source Type | Normal | Option | 4 | Source Type | int |
Available options are:
| |||||||
8 | Source No. | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
9 | Source Name | Source Name | Normal | Text | 100 | Source Name | nvarchar(200) |
10 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
11 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
12 | Location Code | Location Code | Normal | Code | 10 | 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] | |||||||
13 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
14 | Remaining Quantity | Remaining Quantity | Normal | Decimal | 12 | Remaining Quantity | decimal(38,38) |
16 | Open | Open | Normal | Boolean | 4 | Open | tinyint |
17 | Positive | Positive | Normal | Boolean | 4 | Positive | tinyint |
18 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Item Tracing Buffer].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Item Tracing Buffer].[Variant Code] = [Item Variant].[Code] | |||||||
19 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
20 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
21 | Item Ledger Entry No. | Item Ledger Entry No. | Normal | Integer | 4 | Item Ledger Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Item Tracing Buffer].[Item Ledger Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Item Tracing Buffer].[Item Ledger Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
22 | Created by | Created by | Normal | Code | 50 | Created by | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Item Tracing Buffer].[Created by] ,[User].[User Name] FROM [CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer] LEFT JOIN [User] AS [User] ON [Item Tracing Buffer].[Created by] = [User].[User Name] | |||||||
23 | Created on | Created on | Normal | Date | 4 | Created on | datetime |
24 | Record Identifier | Record Identifier | Normal | RecordID | 448 | Record Identifier | varbinary(448) |
25 | Item Description | Item Description | Normal | Text | 100 | Item Description | nvarchar(200) |
26 | Already Traced | Already Traced | Normal | Boolean | 4 | Already Traced | tinyint |
6515 | Package No. | Package No. | Normal | Code | 50 | Package No_ | nvarchar(100) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Item Tracing Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Item Tracing Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Tracing Buffer] LEFT JOIN [User] AS [User] ON [Item Tracing Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |