Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7311
Table Type: Company
Table Name: Warehouse Journal Line
Database Table Name: CRONUS UK Ltd_$Warehouse Journal 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 Warehouse Journal Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Journal Template Name]
,[Journal Batch Name]
,[Line No_]
,[Registering Date]
,[Location Code]
,[From Zone Code]
,[From Bin Code]
,[Description]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[Qty_ (Absolute)]
,[Qty_ (Absolute, Base)]
,[Zone Code]
,[Bin Code]
,[Source Type]
,[Source Subtype]
,[Source No_]
,[Source Line No_]
,[Source Subline No_]
,[Source Document]
,[Source Code]
,[To Zone Code]
,[To Bin Code]
,[Reason Code]
,[Registering No_ Series]
,[From Bin Type Code]
,[Cubage]
,[Weight]
,[Whse_ Document No_]
,[Whse_ Document Type]
,[Whse_ Document Line No_]
,[Qty_ (Calculated)]
,[Qty_ (Phys_ Inventory)]
,[Entry Type]
,[Phys_ Inventory]
,[Reference Document]
,[Reference No_]
,[User ID]
,[Qty_ (Calculated) (Base)]
,[Qty_ (Phys_ Inventory) (Base)]
,[Variant Code]
,[Qty_ per Unit of Measure]
,[Unit of Measure Code]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[Serial No_]
,[Lot No_]
,[Warranty Date]
,[Expiration Date]
,[New Serial No_]
,[New Lot No_]
,[New Expiration Date]
,[Package No_]
,[New Package No_]
,[Phys Invt Counting Period Code]
,[Phys Invt Counting Period Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Warehouse Journal 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_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Warehouse Journal Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Warehouse Journal Line].[Bin Code] = [Bin].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Warehouse Journal Line].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Warehouse Journal Line].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin Type]
ON
[Warehouse Journal Line].[From Bin Type Code] = [Bin Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Warehouse Journal Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Phys_ Invt_ Counting Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Counting Period]
ON
[Warehouse Journal Line].[Phys Invt Counting Period Code] = [Phys. Invt. Counting Period].[Code]
LEFT JOIN
[User] AS [User]
ON
[Warehouse Journal Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Warehouse Journal Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Warehouse Journal Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Journal Template Name | Journal Template Name | Normal | Code | 10 | Journal Template Name | nvarchar(20) |
2 | Journal Batch Name | Journal Batch Name | Normal | Code | 10 | Journal Batch Name | nvarchar(20) |
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | Registering Date | Registering Date | Normal | Date | 4 | Registering Date | datetime |
5 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Warehouse Journal Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Warehouse Journal Line].[Location Code] = [Location].[Code] | |||||||
6 | From Zone Code | From Zone Code | Normal | Code | 10 | From Zone Code | nvarchar(20) |
7 | From Bin Code | From Bin Code | Normal | Code | 20 | From Bin Code | nvarchar(40) |
8 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
9 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Warehouse Journal Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Warehouse Journal Line].[Item No_] = [Item].[No_] | |||||||
10 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
11 | Qty. (Base) | Qty. (Base) | Normal | Decimal | 12 | Qty_ (Base) | decimal(38,38) |
12 | Qty. (Absolute) | Qty. (Absolute) | Normal | Decimal | 12 | Qty_ (Absolute) | decimal(38,38) |
13 | Qty. (Absolute, Base) | Qty. (Absolute, Base) | Normal | Decimal | 12 | Qty_ (Absolute, Base) | decimal(38,38) |
14 | Zone Code | Zone Code | Normal | Code | 10 | Zone Code | nvarchar(20) |
15 | Bin Code | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example querySELECT [Warehouse Journal Line].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Warehouse Journal Line].[Bin Code] = [Bin].[Code] | |||||||
20 | Source Type | Source Type | Normal | Integer | 4 | Source Type | int |
21 | Source Subtype | Source Subtype | Normal | Option | 4 | Source Subtype | int |
Available options are:
| |||||||
22 | Source No. | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
23 | Source Line No. | Source Line No. | Normal | Integer | 4 | Source Line No_ | int |
24 | Source Subline No. | Source Subline No. | Normal | Integer | 4 | Source Subline No_ | int |
25 | Source Document | Source Document | Normal | Option | 4 | Source Document | int |
Available options are:
| |||||||
26 | Source Code | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [Warehouse Journal Line].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Warehouse Journal Line].[Source Code] = [Source Code].[Code] | |||||||
27 | To Zone Code | To Zone Code | Normal | Code | 10 | To Zone Code | nvarchar(20) |
28 | To Bin Code | To Bin Code | Normal | Code | 20 | To Bin Code | nvarchar(40) |
29 | Reason Code | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [Warehouse Journal Line].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Warehouse Journal Line].[Reason Code] = [Reason Code].[Code] | |||||||
33 | Registering No. Series | Registering No. Series | Normal | Code | 20 | Registering No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Warehouse Journal Line].[Registering No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Warehouse Journal Line].[Registering No_ Series] = [No. Series].[Code] | |||||||
35 | From Bin Type Code | From Bin Type Code | Normal | Code | 10 | From Bin Type Code | nvarchar(20) |
Key to join to the Bin Type table.Show/hide example querySELECT [Warehouse Journal Line].[From Bin Type Code] ,[Bin Type].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Bin Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin Type] ON [Warehouse Journal Line].[From Bin Type Code] = [Bin Type].[Code] | |||||||
40 | Cubage | Cubage | Normal | Decimal | 12 | Cubage | decimal(38,38) |
41 | Weight | Weight | Normal | Decimal | 12 | Weight | decimal(38,38) |
50 | Whse. Document No. | Whse. Document No. | Normal | Code | 20 | Whse_ Document No_ | nvarchar(40) |
51 | Whse. Document Type | Whse. Document Type | Normal | Option | 4 | Whse_ Document Type | int |
Available options are:
| |||||||
52 | Whse. Document Line No. | Whse. Document Line No. | Normal | Integer | 4 | Whse_ Document Line No_ | int |
53 | Qty. (Calculated) | Qty. (Calculated) | Normal | Decimal | 12 | Qty_ (Calculated) | decimal(38,38) |
54 | Qty. (Phys. Inventory) | Qty. (Phys. Inventory) | Normal | Decimal | 12 | Qty_ (Phys_ Inventory) | decimal(38,38) |
55 | Entry Type | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
56 | Phys. Inventory | Phys. Inventory | Normal | Boolean | 4 | Phys_ Inventory | tinyint |
60 | Reference Document | Reference Document | Normal | Option | 4 | Reference Document | int |
Available options are:
| |||||||
61 | Reference No. | Reference No. | Normal | Code | 20 | Reference No_ | nvarchar(40) |
67 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
68 | Qty. (Calculated) (Base) | Qty. (Calculated) (Base) | Normal | Decimal | 12 | Qty_ (Calculated) (Base) | decimal(38,38) |
69 | Qty. (Phys. Inventory) (Base) | Qty. (Phys. Inventory) (Base) | Normal | Decimal | 12 | Qty_ (Phys_ Inventory) (Base) | decimal(38,38) |
5402 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Warehouse Journal Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Warehouse Journal Line].[Variant Code] = [Item Variant].[Code] | |||||||
5404 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
5407 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
5408 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
5409 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (Base) | decimal(38,38) |
6500 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
6501 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
6502 | Warranty Date | Warranty Date | Normal | Date | 4 | Warranty Date | datetime |
6503 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
6504 | New Serial No. | New Serial No. | Normal | Code | 50 | New Serial No_ | nvarchar(100) |
6505 | New Lot No. | New Lot No. | Normal | Code | 50 | New Lot No_ | nvarchar(100) |
6506 | 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) |
7380 | Phys Invt Counting Period Code | Phys Invt Counting Period Code | Normal | Code | 10 | Phys Invt Counting Period Code | nvarchar(20) |
Key to join to the Phys. Invt. Counting Period table.Show/hide example querySELECT [Warehouse Journal Line].[Phys Invt Counting Period Code] ,[Phys. Invt. Counting Period].[Code] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [CRONUS UK Ltd_$Phys_ Invt_ Counting Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Counting Period] ON [Warehouse Journal Line].[Phys Invt Counting Period Code] = [Phys. Invt. Counting Period].[Code] | |||||||
7381 | Phys Invt Counting Period Type | Phys Invt Counting Period Type | Normal | Option | 4 | Phys Invt Counting Period Type | int |
Available options are:
| |||||||
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 [Warehouse Journal Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line] LEFT JOIN [User] AS [User] ON [Warehouse Journal Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |