Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7347
Table Type: Company
Table Name: Internal Movement Line
Database Table Name: CRONUS UK Ltd_$Internal Movement 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 Internal Movement Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Internal Movement 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]
,[To Bin Code]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[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_$Internal Movement 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_$Internal Movement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Internal Movement Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Internal Movement Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Internal Movement Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Internal Movement Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Internal Movement 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 [Internal Movement Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Internal Movement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Internal Movement 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 | To Bin Code | To Bin Code | Normal | Code | 20 | To Bin Code | nvarchar(40) |
14 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Internal Movement Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Internal Movement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Internal Movement 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) |
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 [Internal Movement Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Internal Movement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Internal Movement 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 [Internal Movement Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Internal Movement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Internal Movement Line] LEFT JOIN [User] AS [User] ON [Internal Movement Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |