BOM Component

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

Table Type: Company

Table Name: BOM Component
Database Table Name: CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 90

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 BOM Component can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Parent Item No_]
   ,[Line No_]
   ,[Type]
   ,[No_]
   ,[Description]
   ,[Unit of Measure Code]
   ,[Quantity per]
   ,[Position]
   ,[Position 2]
   ,[Position 3]
   ,[Machine No_]
   ,[Lead-Time Offset]
   ,[Resource Usage Type]
   ,[Variant Code]
   ,[Installed in Line No_]
   ,[Installed in Item No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [BOM Component]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [BOM Component].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [BOM Component].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [BOM Component].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in BOM Component table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Parent Item No. SearchParent Item No.NormalCode20Parent Item No_nvarchar(40)
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Type Primary Key SearchTypeNormalOption4Typeint
Available options are:
  • ” “
  • “Item”
  • “Resource”
4No. SearchNo.NormalCode20No_nvarchar(40)
5Assembly BOM SearchAssembly BOMFlowFieldBoolean4
6Description SearchDescriptionNormalText100Descriptionnvarchar(200)
7Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
8Quantity per SearchQuantity perNormalDecimal12Quantity perdecimal(38,38)
9Position SearchPositionNormalCode10Positionnvarchar(20)
10Position 2 SearchPosition 2NormalCode10Position 2nvarchar(20)
11Position 3 SearchPosition 3NormalCode10Position 3nvarchar(20)
12Machine No. SearchMachine No.NormalCode10Machine No_nvarchar(20)
13Lead-Time Offset SearchLead-Time OffsetNormalDateFormula32Lead-Time Offsetvarchar(32)
14BOM Description SearchBOM DescriptionFlowFieldText100
20Resource Usage Type SearchResource Usage TypeNormalOption4Resource Usage Typeint
Available options are:
  • “Direct”
  • “Fixed”
5402Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [BOM Component].[Variant Code]
	       ,[Item Variant].[Code]
	FROM
	       [CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [BOM Component]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
	              ON
	                     [BOM Component].[Variant Code] = [Item Variant].[Code]
5900Installed in Line No. SearchInstalled in Line No.NormalInteger4Installed in Line No_int
5901Installed in Item No. SearchInstalled in Item No.NormalCode20Installed in Item No_nvarchar(40)
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
	       [BOM Component].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$BOM Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [BOM Component]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [BOM Component].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from BOM Component table

Leave a Reply

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