Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5857
Table Type: Company
Table Name: Direct Trans. Line
Database Table Name: CRONUS UK Ltd_$Direct Trans_ Line$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 Direct Trans. Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Document No_]
,[Line No_]
,[Item No_]
,[Quantity]
,[Unit of Measure]
,[Description]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Gen_ Prod_ Posting Group]
,[Inventory Posting Group]
,[Quantity (Base)]
,[Qty_ per Unit of Measure]
,[Unit of Measure Code]
,[Gross Weight]
,[Net Weight]
,[Unit Volume]
,[Variant Code]
,[Units per Parcel]
,[Description 2]
,[Transfer Order No_]
,[Posting Date]
,[Transfer-from Code]
,[Transfer-to Code]
,[Item Shpt_ Entry No_]
,[Item Rcpt_ Entry No_]
,[Dimension Set ID]
,[Item Category Code]
,[Transfer-from Bin Code]
,[Transfer-To Bin Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Direct Trans. Line].[Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Direct Trans. Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Direct Trans. Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Inventory Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Group]
ON
[Direct Trans. Line].[Inventory Posting Group] = [Inventory Posting Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Direct Trans. Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Direct Trans. Line].[Transfer-from Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Direct Trans. Line].[Transfer-to Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Direct Trans. Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[CRONUS UK Ltd_$Item Category$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Category]
ON
[Direct Trans. Line].[Item Category Code] = [Item Category].[Code]
LEFT JOIN
[User] AS [User]
ON
[Direct Trans. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Direct Trans. Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Direct Trans. Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Direct Trans. Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Direct Trans. Line].[Item No_] = [Item].[No_] | |||||||
4 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
5 | Unit of Measure | Unit of Measure | Normal | Text | 50 | Unit of Measure | nvarchar(100) |
Key to join to the Unit of Measure table.Show/hide example querySELECT [Direct Trans. Line].[Unit of Measure] ,[Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure] ON [Direct Trans. Line].[Unit of Measure] = [Unit of Measure].[Code] | |||||||
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Direct Trans. Line].[Shortcut Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Direct Trans. Line].[Shortcut Dimension 1 Code] = [Dimension].[Code] | |||||||
9 | Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Direct Trans. Line].[Shortcut Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Direct Trans. Line].[Shortcut Dimension 2 Code] = [Dimension].[Code] | |||||||
10 | Gen. Prod. Posting Group | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [Direct Trans. Line].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Direct Trans. Line].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
11 | Inventory Posting Group | Inventory Posting Group | Normal | Code | 20 | Inventory Posting Group | nvarchar(40) |
Key to join to the Inventory Posting Group table.Show/hide example querySELECT [Direct Trans. Line].[Inventory Posting Group] ,[Inventory Posting Group].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Inventory Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Group] ON [Direct Trans. Line].[Inventory Posting Group] = [Inventory Posting Group].[Code] | |||||||
12 | Quantity (Base) | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
14 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
15 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
16 | Gross Weight | Gross Weight | Normal | Decimal | 12 | Gross Weight | decimal(38,38) |
17 | Net Weight | Net Weight | Normal | Decimal | 12 | Net Weight | decimal(38,38) |
18 | Unit Volume | Unit Volume | Normal | Decimal | 12 | Unit Volume | decimal(38,38) |
21 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Direct Trans. Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Direct Trans. Line].[Variant Code] = [Item Variant].[Code] | |||||||
22 | Units per Parcel | Units per Parcel | Normal | Decimal | 12 | Units per Parcel | decimal(38,38) |
23 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
24 | Transfer Order No. | Transfer Order No. | Normal | Code | 20 | Transfer Order No_ | nvarchar(40) |
Key to join to the Transfer Header table.Show/hide example querySELECT [Direct Trans. Line].[Transfer Order No_] ,[Transfer Header].[No_] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Transfer Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transfer Header] ON [Direct Trans. Line].[Transfer Order No_] = [Transfer Header].[No_] | |||||||
25 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
29 | Transfer-from Code | Transfer-from Code | Normal | Code | 10 | Transfer-from Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Direct Trans. Line].[Transfer-from Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Direct Trans. Line].[Transfer-from Code] = [Location].[Code] | |||||||
30 | Transfer-to Code | Transfer-to Code | Normal | Code | 10 | Transfer-to Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Direct Trans. Line].[Transfer-to Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Direct Trans. Line].[Transfer-to Code] = [Location].[Code] | |||||||
31 | Item Shpt. Entry No. | Item Shpt. Entry No. | Normal | Integer | 4 | Item Shpt_ Entry No_ | int |
33 | Item Rcpt. Entry No. | Item Rcpt. Entry No. | Normal | Integer | 4 | Item Rcpt_ Entry No_ | int |
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Direct Trans. Line].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Direct Trans. Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
5704 | Item Category Code | Item Category Code | Normal | Code | 20 | Item Category Code | nvarchar(40) |
Key to join to the Item Category table.Show/hide example querySELECT [Direct Trans. Line].[Item Category Code] ,[Item Category].[Code] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [CRONUS UK Ltd_$Item Category$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Category] ON [Direct Trans. Line].[Item Category Code] = [Item Category].[Code] | |||||||
7300 | Transfer-from Bin Code | Transfer-from Bin Code | Normal | Code | 20 | Transfer-from Bin Code | nvarchar(40) |
7301 | Transfer-To Bin Code | Transfer-To Bin Code | Normal | Code | 20 | Transfer-To Bin Code | nvarchar(40) |
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 [Direct Trans. Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Direct Trans_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Trans. Line] LEFT JOIN [User] AS [User] ON [Direct Trans. Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |