Whse. Item Entry Relation

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6509

Table Type: Company

Table Name: Whse. Item Entry Relation
Database Table Name: CRONUS UK Ltd_$Whse_ Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 6509

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. Item Entry Relation can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Whse_ Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Item Entry No_]
   ,[Source Type]
   ,[Source Subtype]
   ,[Source ID]
   ,[Source Batch Name]
   ,[Source Prod_ Order Line]
   ,[Source Ref_ No_]
   ,[Serial No_]
   ,[Lot No_]
   ,[Order No_]
   ,[Order Line No_]
   ,[Package No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Whse_ Item Entry Relation$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_ Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Item Entry Relation]
LEFT JOIN
   [User] AS [User]
      ON
         [Whse. Item Entry Relation].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Whse. Item Entry Relation].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Whse. Item Entry Relation table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Item Entry No. SearchItem Entry No.NormalInteger4Item Entry No_int
Key to join to the Item Ledger Entry table.

Show/hide example query

SELECT
	       [Whse. Item Entry Relation].[Item Entry No_]
	       ,[Item Ledger Entry].[Entry No_]
	FROM
	       [CRONUS UK Ltd_$Whse_ Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Item Entry Relation]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry]
	              ON
	                     [Whse. Item Entry Relation].[Item Entry No_] = [Item Ledger Entry].[Entry No_]
10Source Type Primary Key SearchSource TypeNormalInteger4Source Typeint
11Source Subtype SearchSource SubtypeNormalOption4Source Subtypeint
Available options are:
  • “0”
  • “1”
  • “2”
  • “3”
  • “4”
  • “5”
  • “6”
  • “7”
  • “8”
  • “9”
  • “10”
12Source ID SearchSource IDNormalCode20Source IDnvarchar(40)
13Source Batch Name SearchSource Batch NameNormalCode10Source Batch Namenvarchar(20)
14Source Prod. Order Line SearchSource Prod. Order LineNormalInteger4Source Prod_ Order Lineint
15Source Ref. No. SearchSource Ref. No.NormalInteger4Source Ref_ No_int
20Serial No. SearchSerial No.NormalCode50Serial No_nvarchar(100)
21Lot No. SearchLot No.NormalCode50Lot No_nvarchar(100)
30Order No. SearchOrder No.NormalCode20Order No_nvarchar(40)
31Order Line No. SearchOrder Line No.NormalInteger4Order Line No_int
6515Package No. SearchPackage No.NormalCode50Package No_nvarchar(100)
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
	       [Whse. Item Entry Relation].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Whse_ Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Item Entry Relation]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Whse. Item Entry Relation].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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