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
[timestamp]
,[Journal Template Name]
,[Journal Batch Name]
,[Location Code]
,[Line No_]
,[Registering Date]
,[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_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Warehouse Journal Line].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Warehouse Journal Line].[Unit of Measure Code] = [Unit of Measure].[Code]
Show/hide columns in Warehouse Journal Line table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Journal Template Name ![]() ![]() | nvarchar(20) | ||||
3 | Journal Batch Name ![]() ![]() | nvarchar(20) | ||||
4 | 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] | ||||||
5 | Line No_ ![]() ![]() | int | ||||
6 | Registering Date ![]() | datetime | ||||
7 | From Zone Code ![]() | nvarchar(20) | ||||
8 | From Bin Code ![]() | nvarchar(40) | ||||
9 | Description ![]() | nvarchar(200) | ||||
10 | 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$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Warehouse Journal Line].[Item No_] = [Item].[No_] | ||||||
11 | Quantity ![]() | decimal(38,38) | ||||
12 | Qty_ (Base) ![]() | decimal(38,38) | ||||
13 | Qty_ (Absolute) ![]() | decimal(38,38) | ||||
14 | Qty_ (Absolute, Base) ![]() | decimal(38,38) | ||||
15 | Zone Code ![]() | nvarchar(20) | ||||
16 | Bin Code ![]() | nvarchar(40) | ||||
17 | Source Type ![]() | int | ||||
18 | Source Subtype ![]() | int | ||||
19 | Source No_ ![]() | nvarchar(40) | ||||
20 | Source Line No_ ![]() | int | ||||
21 | Source Subline No_ ![]() | int | ||||
22 | Source Document ![]() | int | ||||
23 | Source Code ![]() | nvarchar(20) | ||||
24 | To Zone Code ![]() | nvarchar(20) | ||||
25 | To Bin Code ![]() | nvarchar(40) | ||||
26 | Reason Code ![]() | nvarchar(20) | ||||
27 | Registering No_ Series ![]() | nvarchar(40) | ||||
28 | From Bin Type Code ![]() | nvarchar(20) | ||||
29 | Cubage ![]() | decimal(38,38) | ||||
30 | Weight ![]() | decimal(38,38) | ||||
31 | Whse_ Document No_ ![]() | nvarchar(40) | ||||
32 | Whse_ Document Type ![]() | int | ||||
33 | Whse_ Document Line No_ ![]() | int | ||||
34 | Qty_ (Calculated) ![]() | decimal(38,38) | ||||
35 | Qty_ (Phys_ Inventory) ![]() | decimal(38,38) | ||||
36 | Entry Type ![]() | int | ||||
37 | Phys_ Inventory ![]() | tinyint | ||||
38 | Reference Document ![]() | int | ||||
39 | Reference No_ ![]() | nvarchar(40) | ||||
40 | User ID ![]() | nvarchar(100) | ||||
41 | Qty_ (Calculated) (Base) ![]() | decimal(38,38) | ||||
42 | Qty_ (Phys_ Inventory) (Base) ![]() | decimal(38,38) | ||||
43 | Variant Code ![]() | nvarchar(20) | ||||
44 | Qty_ per Unit of Measure ![]() | decimal(38,38) | ||||
45 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Warehouse Journal Line].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Warehouse Journal Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Journal Line]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Warehouse Journal Line].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
46 | Qty_ Rounding Precision ![]() | decimal(38,38) | ||||
47 | Qty_ Rounding Precision (Base) ![]() | decimal(38,38) | ||||
48 | Serial No_ ![]() | nvarchar(100) | ||||
49 | Lot No_ ![]() | nvarchar(100) | ||||
50 | Warranty Date ![]() | datetime | ||||
51 | Expiration Date ![]() | datetime | ||||
52 | New Serial No_ ![]() | nvarchar(100) | ||||
53 | New Lot No_ ![]() | nvarchar(100) | ||||
54 | New Expiration Date ![]() | datetime | ||||
55 | Package No_ ![]() | nvarchar(100) | ||||
56 | New Package No_ ![]() | nvarchar(100) | ||||
57 | Phys Invt Counting Period Code ![]() | nvarchar(20) | ||||
58 | Phys Invt Counting Period Type ![]() | int | ||||
59 | $systemId ![]() | uniqueidentifier | ||||
60 | $systemCreatedAt ![]() | datetime | ||||
61 | $systemCreatedBy ![]() | uniqueidentifier | ||||
62 | $systemModifiedAt ![]() | datetime | ||||
63 | $systemModifiedBy ![]() | uniqueidentifier |