Item Entry Relation

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

Table Type: Company

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

Table Number: 6507

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$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_$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_$Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Entry Relation]
LEFT JOIN
   [User] AS [User]
      ON
         [Item Entry Relation].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Item Entry Relation].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Item Entry Relation table

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

Show/hide example query

SELECT
       [Item Entry Relation].[Item Entry No_]
       ,[Item Ledger Entry].[Entry No_]
FROM
       [CRONUS UK Ltd_$Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Entry Relation]
LEFT JOIN
       [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry]
              ON
                     [Item Entry Relation].[Item Entry No_] = [Item Ledger Entry].[Entry No_]
10Source Type 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
       [Item Entry Relation].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Entry Relation]
LEFT JOIN
       [User] AS [User]
              ON
                     [Item Entry Relation].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Item Entry Relation].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Item Entry Relation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Entry Relation]
LEFT JOIN
       [User] AS [User]
              ON
                     [Item Entry Relation].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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