Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/336
Table Type: Company
Table Name: Tracking Specification
Database Table Name: CRONUS UK Ltd_$Tracking Specification$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 Tracking Specification can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Item No_]
,[Location Code]
,[Quantity (Base)]
,[Description]
,[Creation Date]
,[Source Type]
,[Source Subtype]
,[Source ID]
,[Source Batch Name]
,[Source Prod_ Order Line]
,[Source Ref_ No_]
,[Item Ledger Entry No_]
,[Transfer Item Entry No_]
,[Serial No_]
,[Positive]
,[Qty_ per Unit of Measure]
,[Qty_ Rounding Precision (Base)]
,[Appl_-to Item Entry]
,[Warranty Date]
,[Expiration Date]
,[Qty_ to Handle (Base)]
,[Qty_ to Invoice (Base)]
,[Quantity Handled (Base)]
,[Quantity Invoiced (Base)]
,[Qty_ to Handle]
,[Qty_ to Invoice]
,[Buffer Status]
,[Buffer Status2]
,[Buffer Value1]
,[Buffer Value2]
,[Buffer Value3]
,[Buffer Value4]
,[Buffer Value5]
,[New Serial No_]
,[New Lot No_]
,[Prohibit Cancellation]
,[Lot No_]
,[Variant Code]
,[Bin Code]
,[Appl_-from Item Entry]
,[Correction]
,[New Expiration Date]
,[Package No_]
,[New Package No_]
,[Quantity actual Handled (Base)]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Tracking Specification].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Tracking Specification].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Tracking Specification].[Bin Code] = [Bin].[Code]
LEFT JOIN
[User] AS [User]
ON
[Tracking Specification].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Tracking Specification].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Tracking Specification table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Tracking Specification].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Tracking Specification].[Item No_] = [Item].[No_] | |||||||
3 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Tracking Specification].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Tracking Specification].[Location Code] = [Location].[Code] | |||||||
4 | Quantity (Base) | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Creation Date | Creation Date | Normal | Date | 4 | Creation Date | datetime |
10 | Source Type | Source Type | Normal | Integer | 4 | Source Type | int |
11 | Source Subtype | Source Subtype | Normal | Option | 4 | Source Subtype | int |
Available options are:
| |||||||
12 | Source ID | Source ID | Normal | Code | 20 | Source ID | nvarchar(40) |
13 | Source Batch Name | Source Batch Name | Normal | Code | 10 | Source Batch Name | nvarchar(20) |
14 | Source Prod. Order Line | Source Prod. Order Line | Normal | Integer | 4 | Source Prod_ Order Line | int |
15 | Source Ref. No. | Source Ref. No. | Normal | Integer | 4 | Source Ref_ No_ | int |
16 | 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 [Tracking Specification].[Item Ledger Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Tracking Specification].[Item Ledger Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
17 | Transfer Item Entry No. | Transfer Item Entry No. | Normal | Integer | 4 | Transfer Item Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Tracking Specification].[Transfer Item Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Tracking Specification].[Transfer Item Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
24 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
28 | Positive | Positive | Normal | Boolean | 4 | Positive | tinyint |
29 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
31 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (Base) | decimal(38,38) |
38 | Appl.-to Item Entry | Appl.-to Item Entry | Normal | Integer | 4 | Appl_-to Item Entry | int |
40 | Warranty Date | Warranty Date | Normal | Date | 4 | Warranty Date | datetime |
41 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
50 | Qty. to Handle (Base) | Qty. to Handle (Base) | Normal | Decimal | 12 | Qty_ to Handle (Base) | decimal(38,38) |
51 | Qty. to Invoice (Base) | Qty. to Invoice (Base) | Normal | Decimal | 12 | Qty_ to Invoice (Base) | decimal(38,38) |
52 | Quantity Handled (Base) | Quantity Handled (Base) | Normal | Decimal | 12 | Quantity Handled (Base) | decimal(38,38) |
53 | Quantity Invoiced (Base) | Quantity Invoiced (Base) | Normal | Decimal | 12 | Quantity Invoiced (Base) | decimal(38,38) |
60 | Qty. to Handle | Qty. to Handle | Normal | Decimal | 12 | Qty_ to Handle | decimal(38,38) |
61 | Qty. to Invoice | Qty. to Invoice | Normal | Decimal | 12 | Qty_ to Invoice | decimal(38,38) |
70 | Buffer Status | Buffer Status | Normal | Option | 4 | Buffer Status | int |
Available options are:
| |||||||
71 | Buffer Status2 | Buffer Status2 | Normal | Option | 4 | Buffer Status2 | int |
Available options are:
| |||||||
72 | Buffer Value1 | Buffer Value1 | Normal | Decimal | 12 | Buffer Value1 | decimal(38,38) |
73 | Buffer Value2 | Buffer Value2 | Normal | Decimal | 12 | Buffer Value2 | decimal(38,38) |
74 | Buffer Value3 | Buffer Value3 | Normal | Decimal | 12 | Buffer Value3 | decimal(38,38) |
75 | Buffer Value4 | Buffer Value4 | Normal | Decimal | 12 | Buffer Value4 | decimal(38,38) |
76 | Buffer Value5 | Buffer Value5 | Normal | Decimal | 12 | Buffer Value5 | decimal(38,38) |
80 | New Serial No. | New Serial No. | Normal | Code | 50 | New Serial No_ | nvarchar(100) |
81 | New Lot No. | New Lot No. | Normal | Code | 50 | New Lot No_ | nvarchar(100) |
900 | Prohibit Cancellation | Prohibit Cancelation | Normal | Boolean | 4 | Prohibit Cancellation | tinyint |
5400 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
5401 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Tracking Specification].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Tracking Specification].[Variant Code] = [Item Variant].[Code] | |||||||
5402 | Bin Code | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example querySELECT [Tracking Specification].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Tracking Specification].[Bin Code] = [Bin].[Code] | |||||||
5811 | Appl.-from Item Entry | Appl.-from Item Entry | Normal | Integer | 4 | Appl_-from Item Entry | int |
5817 | Correction | Correction | Normal | Boolean | 4 | Correction | tinyint |
6505 | New Expiration Date | New Expiration Date | Normal | Date | 4 | New Expiration Date | datetime |
6515 | Package No. | Package No. | Normal | Code | 50 | Package No_ | nvarchar(100) |
6516 | New Package No. | New Package No. | Normal | Code | 50 | New Package No_ | nvarchar(100) |
7300 | Quantity actual Handled (Base) | Quantity actual Handled (Base) | Normal | Decimal | 12 | Quantity actual Handled (Base) | decimal(38,38) |
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 [Tracking Specification].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Tracking Specification$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tracking Specification] LEFT JOIN [User] AS [User] ON [Tracking Specification].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |