Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7326
Table Type: Company
Table Name: Whse. Worksheet Line
Database Table Name: CRONUS UK Ltd_$Whse_ Worksheet 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 Whse. Worksheet Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Worksheet Template Name]
,[Name]
,[Line No_]
,[Source Type]
,[Source Subtype]
,[Source No_]
,[Source Line No_]
,[Source Subline No_]
,[Source Document]
,[Location Code]
,[Shelf No_]
,[From Zone Code]
,[From Bin Code]
,[To Bin Code]
,[To Zone Code]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[Qty_ Outstanding]
,[Qty_ Outstanding (Base)]
,[Qty_ to Handle]
,[Qty_ to Handle (Base)]
,[Qty_ Handled]
,[Qty_ Handled (Base)]
,[From Unit of Measure Code]
,[Qty_ per From Unit of Measure]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Variant Code]
,[Description]
,[Description 2]
,[Sorting Sequence No_]
,[Due Date]
,[Destination Type]
,[Destination No_]
,[Shipping Agent Code]
,[Shipping Agent Service Code]
,[Shipment Method Code]
,[Shipping Advice]
,[Shipment Date]
,[Whse_ Document Type]
,[Whse_ Document No_]
,[Whse_ Document Line No_]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Whse_ Worksheet 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_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Whse. Worksheet Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Whse. Worksheet Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent]
ON
[Whse. Worksheet Line].[Shipping Agent Code] = [Shipping Agent].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
ON
[Whse. Worksheet Line].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
[User] AS [User]
ON
[Whse. Worksheet Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Whse. Worksheet Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Whse. Worksheet Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Worksheet Template Name | Worksheet Template Name | Normal | Code | 10 | Worksheet Template Name | nvarchar(20) |
2 | Name | Name | Normal | Code | 10 | Name | nvarchar(20) |
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | Source Type | Source Type | Normal | Integer | 4 | Source Type | int |
5 | Source Subtype | Source Subtype | Normal | Option | 4 | Source Subtype | int |
Available options are:
| |||||||
6 | Source No. | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
7 | Source Line No. | Source Line No. | Normal | Integer | 4 | Source Line No_ | int |
8 | Source Subline No. | Source Subline No. | Normal | Integer | 4 | Source Subline No_ | int |
9 | Source Document | Source Document | Normal | Option | 4 | Source Document | int |
Available options are:
| |||||||
10 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Whse. Worksheet Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Whse. Worksheet Line].[Location Code] = [Location].[Code] | |||||||
11 | Shelf No. | Shelf No. | Normal | Code | 10 | Shelf No_ | nvarchar(20) |
12 | From Zone Code | From Zone Code | Normal | Code | 10 | From Zone Code | nvarchar(20) |
13 | From Bin Code | From Bin Code | Normal | Code | 20 | From Bin Code | nvarchar(40) |
14 | To Bin Code | To Bin Code | Normal | Code | 20 | To Bin Code | nvarchar(40) |
15 | To Zone Code | To Zone Code | Normal | Code | 10 | To Zone Code | nvarchar(20) |
16 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Whse. Worksheet Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Whse. Worksheet Line].[Item No_] = [Item].[No_] | |||||||
17 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
18 | Qty. (Base) | Qty. (Base) | Normal | Decimal | 12 | Qty_ (Base) | decimal(38,38) |
19 | Qty. Outstanding | Qty. Outstanding | Normal | Decimal | 12 | Qty_ Outstanding | decimal(38,38) |
20 | Qty. Outstanding (Base) | Qty. Outstanding (Base) | Normal | Decimal | 12 | Qty_ Outstanding (Base) | decimal(38,38) |
21 | Qty. to Handle | Qty. to Handle | Normal | Decimal | 12 | Qty_ to Handle | decimal(38,38) |
22 | Qty. to Handle (Base) | Qty. to Handle (Base) | Normal | Decimal | 12 | Qty_ to Handle (Base) | decimal(38,38) |
23 | Qty. Handled | Qty. Handled | Normal | Decimal | 12 | Qty_ Handled | decimal(38,38) |
24 | Qty. Handled (Base) | Qty. Handled (Base) | Normal | Decimal | 12 | Qty_ Handled (Base) | decimal(38,38) |
27 | From Unit of Measure Code | From Unit of Measure Code | Normal | Code | 10 | From Unit of Measure Code | nvarchar(20) |
28 | Qty. per From Unit of Measure | Qty. per From Unit of Measure | Normal | Decimal | 12 | Qty_ per From Unit of Measure | decimal(38,38) |
29 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
30 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
31 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Whse. Worksheet Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Whse. Worksheet Line].[Variant Code] = [Item Variant].[Code] | |||||||
32 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
33 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
35 | Sorting Sequence No. | Sorting Sequence No. | Normal | Integer | 4 | Sorting Sequence No_ | int |
36 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
39 | Destination Type | Destination Type | Normal | Option | 4 | Destination Type | int |
Available options are:
| |||||||
40 | Destination No. | Destination No. | Normal | Code | 20 | Destination No_ | nvarchar(40) |
41 | Shipping Agent Code | Shipping Agent Code | Normal | Code | 10 | Shipping Agent Code | nvarchar(20) |
Key to join to the Shipping Agent table.Show/hide example querySELECT [Whse. Worksheet Line].[Shipping Agent Code] ,[Shipping Agent].[Code] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [CRONUS UK Ltd_$Shipping Agent$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Shipping Agent] ON [Whse. Worksheet Line].[Shipping Agent Code] = [Shipping Agent].[Code] | |||||||
42 | Shipping Agent Service Code | Shipping Agent Service Code | Normal | Code | 10 | Shipping Agent Service Code | nvarchar(20) |
43 | Shipment Method Code | Shipment Method Code | Normal | Code | 10 | Shipment Method Code | nvarchar(20) |
Key to join to the Shipment Method table.Show/hide example querySELECT [Whse. Worksheet Line].[Shipment Method Code] ,[Shipment Method].[Code] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method] ON [Whse. Worksheet Line].[Shipment Method Code] = [Shipment Method].[Code] | |||||||
44 | Shipping Advice | Shipping Advice | Normal | Option | 4 | Shipping Advice | int |
Available options are:
| |||||||
45 | Shipment Date | Shipment Date | Normal | Date | 4 | Shipment Date | datetime |
46 | Whse. Document Type | Whse. Document Type | Normal | Option | 4 | Whse_ Document Type | int |
Available options are:
| |||||||
47 | Whse. Document No. | Whse. Document No. | Normal | Code | 20 | Whse_ Document No_ | nvarchar(40) |
48 | Whse. Document Line No. | Whse. Document Line No. | Normal | Integer | 4 | Whse_ Document Line No_ | int |
50 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
51 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (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 [Whse. Worksheet Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Whse_ Worksheet Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Worksheet Line] LEFT JOIN [User] AS [User] ON [Whse. Worksheet Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |