Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7312
Table Type: Company
Table Name: Warehouse Entry
Database Table Name: CRONUS UK Ltd_$Warehouse Entry$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 Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Warehouse Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Entry No_]
,[Journal Batch Name]
,[Line No_]
,[Registering Date]
,[Location Code]
,[Zone Code]
,[Bin Code]
,[Description]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[Source Type]
,[Source Subtype]
,[Source No_]
,[Source Line No_]
,[Source Subline No_]
,[Source Document]
,[Source Code]
,[Reason Code]
,[No_ Series]
,[Bin Type Code]
,[Cubage]
,[Weight]
,[Journal Template Name]
,[Whse_ Document No_]
,[Whse_ Document Type]
,[Whse_ Document Line No_]
,[Entry Type]
,[Reference Document]
,[Reference No_]
,[User ID]
,[Variant Code]
,[Qty_ per Unit of Measure]
,[Unit of Measure Code]
,[Serial No_]
,[Lot No_]
,[Warranty Date]
,[Expiration Date]
,[Package No_]
,[Phys Invt Counting Period Code]
,[Phys Invt Counting Period Type]
,[Dedicated]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Warehouse Entry$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 Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Entry]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Warehouse Entry].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Warehouse Entry].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Warehouse Entry].[Unit of Measure Code] = [Unit of Measure].[Code]
Show/hide columns in Warehouse Entry table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Entry No_ ![]() ![]() | int | ||||
3 | Journal Batch Name ![]() | nvarchar(20) | ||||
4 | Line No_ ![]() | int | ||||
5 | Registering Date ![]() | datetime | ||||
6 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Warehouse Entry].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Warehouse Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Entry]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Warehouse Entry].[Location Code] = [Location].[Code] | ||||||
7 | Zone Code ![]() | nvarchar(20) | ||||
8 | 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 Entry].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Warehouse Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Entry]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Warehouse Entry].[Item No_] = [Item].[No_] | ||||||
11 | Quantity ![]() | decimal(38,38) | ||||
12 | Qty_ (Base) ![]() | decimal(38,38) | ||||
13 | Source Type ![]() | int | ||||
14 | Source Subtype ![]() | int | ||||
15 | Source No_ ![]() | nvarchar(40) | ||||
16 | Source Line No_ ![]() | int | ||||
17 | Source Subline No_ ![]() | int | ||||
18 | Source Document ![]() | int | ||||
19 | Source Code ![]() | nvarchar(20) | ||||
20 | Reason Code ![]() | nvarchar(20) | ||||
21 | No_ Series ![]() | nvarchar(40) | ||||
22 | Bin Type Code ![]() | nvarchar(20) | ||||
23 | Cubage ![]() | decimal(38,38) | ||||
24 | Weight ![]() | decimal(38,38) | ||||
25 | Journal Template Name ![]() | nvarchar(20) | ||||
26 | Whse_ Document No_ ![]() | nvarchar(40) | ||||
27 | Whse_ Document Type ![]() | int | ||||
28 | Whse_ Document Line No_ ![]() | int | ||||
29 | Entry Type ![]() | int | ||||
30 | Reference Document ![]() | int | ||||
31 | Reference No_ ![]() | nvarchar(40) | ||||
32 | User ID ![]() | nvarchar(100) | ||||
33 | Variant Code ![]() | nvarchar(20) | ||||
34 | Qty_ per Unit of Measure ![]() | decimal(38,38) | ||||
35 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Warehouse Entry].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Warehouse Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Warehouse Entry]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Warehouse Entry].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
36 | Serial No_ ![]() | nvarchar(100) | ||||
37 | Lot No_ ![]() | nvarchar(100) | ||||
38 | Warranty Date ![]() | datetime | ||||
39 | Expiration Date ![]() | datetime | ||||
40 | Package No_ ![]() | nvarchar(100) | ||||
41 | Phys Invt Counting Period Code ![]() | nvarchar(20) | ||||
42 | Phys Invt Counting Period Type ![]() | int | ||||
43 | Dedicated ![]() | tinyint | ||||
44 | $systemId ![]() | uniqueidentifier | ||||
45 | $systemCreatedAt ![]() | datetime | ||||
46 | $systemCreatedBy ![]() | uniqueidentifier | ||||
47 | $systemModifiedAt ![]() | datetime | ||||
48 | $systemModifiedBy ![]() | uniqueidentifier |