Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7334
Table Type: Company
Table Name: Whse. Internal Pick Line
Database Table Name: CRONUS UK Ltd_$Whse_ Internal Pick 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. Internal Pick Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Whse_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Line No_]
,[Location Code]
,[Shelf No_]
,[To Bin Code]
,[To Zone Code]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[Qty_ Outstanding]
,[Qty_ Outstanding (Base)]
,[Qty_ Picked]
,[Qty_ Picked (Base)]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Variant Code]
,[Description]
,[Description 2]
,[Status]
,[Sorting Sequence No_]
,[Due Date]
,[Cubage]
,[Weight]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Whse_ Internal Pick 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_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Internal Pick Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Whse. Internal Pick Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Whse. Internal Pick Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Whse. Internal Pick Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Whse. Internal Pick Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Whse. Internal Pick Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
10 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Whse. Internal Pick Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Whse_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Internal Pick Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Whse. Internal Pick Line].[Location Code] = [Location].[Code] | |||||||
11 | Shelf No. | Shelf No. | Normal | Code | 10 | Shelf No_ | nvarchar(20) |
12 | To Bin Code | To Bin Code | Normal | Code | 20 | To Bin Code | nvarchar(40) |
13 | To Zone Code | To Zone Code | Normal | Code | 10 | To Zone Code | nvarchar(20) |
14 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Whse. Internal Pick Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Whse_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Internal Pick Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Whse. Internal Pick Line].[Item No_] = [Item].[No_] | |||||||
15 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
16 | 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) |
23 | Qty. Picked | Qty. Picked | Normal | Decimal | 12 | Qty_ Picked | decimal(38,38) |
24 | Qty. Picked (Base) | Qty. Picked (Base) | Normal | Decimal | 12 | Qty_ Picked (Base) | decimal(38,38) |
27 | Pick Qty. | Pick Qty. | FlowField | Decimal | 12 | ||
28 | Pick Qty. (Base) | Pick Qty. (Base) | FlowField | Decimal | 12 | ||
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. Internal Pick Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Whse_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Internal Pick Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Whse. Internal Pick 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) |
34 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
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 |
37 | Cubage | Cubage | Normal | Decimal | 12 | Cubage | decimal(38,38) |
38 | Weight | Weight | Normal | Decimal | 12 | Weight | 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. Internal Pick Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Whse_ Internal Pick Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Internal Pick Line] LEFT JOIN [User] AS [User] ON [Whse. Internal Pick Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |