Internal Movement Line

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

Table Number: 7347

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalCode20No_nvarchar(40)
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
10Location Code Primary Key SearchLocation CodeNormalCode10Location Codenvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
	       [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]
11Shelf No. SearchShelf No.NormalCode10Shelf No_nvarchar(20)
12From Bin Code SearchFrom Bin CodeNormalCode20From Bin Codenvarchar(40)
13To Bin Code SearchTo Bin CodeNormalCode20To Bin Codenvarchar(40)
14Item No. SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [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_]
15Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
16Qty. (Base) SearchQty. (Base)NormalDecimal12Qty_ (Base)decimal(38,38)
29Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
30Qty. per Unit of Measure SearchQty. per Unit of MeasureNormalDecimal12Qty_ per Unit of Measuredecimal(38,38)
31Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [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]
32Description SearchDescriptionNormalText100Descriptionnvarchar(200)
33Description 2 SearchDescription 2NormalText50Description 2nvarchar(100)
35Sorting Sequence No. SearchSorting Sequence No.NormalInteger4Sorting Sequence No_int
36Due Date SearchDue DateNormalDate4Due Datedatetime
37Cubage SearchCubageNormalDecimal12Cubagedecimal(38,38)
38Weight SearchWeightNormalDecimal12Weightdecimal(38,38)
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Internal Movement Line table

Leave a Reply

Your email address will not be published. Required fields are marked *