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