Service Item Component

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

Table Type: Company

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

Table Number: 5941

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Parent Service Item No_]
   ,[Line No_]
   ,[Active]
   ,[Type]
   ,[No_]
   ,[Date Installed]
   ,[Variant Code]
   ,[Serial No_]
   ,[Description]
   ,[Description 2]
   ,[Service Order No_]
   ,[From Line No_]
   ,[Last Date Modified]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Service Item 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_$Service Item Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Component]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Service Item Component].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Service Item Component].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Service Item Component].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Service Item Component table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Parent Service Item No. Primary Key SearchParent Service Item No.NormalCode20Parent Service Item No_nvarchar(40)
Key to join to the Service Item table.

Show/hide example query

SELECT
       [Service Item Component].[Parent Service Item No_]
       ,[Service Item].[No_]
FROM
       [CRONUS UK Ltd_$Service Item Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Component]
LEFT JOIN
       [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item]
              ON
                     [Service Item Component].[Parent Service Item No_] = [Service Item].[No_]
3Line No. Primary Key SearchLine No.NormalInteger4Line No_int
4Active Primary Key SearchActiveNormalBoolean4Activetinyint
5Type SearchTypeNormalOption4Typeint
Available options are:
  • “Service Item”
  • “Item”
6No. SearchNo.NormalCode20No_nvarchar(40)
7Date Installed SearchDate InstalledNormalDate4Date Installeddatetime
8Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
       [Service Item Component].[Variant Code]
       ,[Item Variant].[Code]
FROM
       [CRONUS UK Ltd_$Service Item Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Component]
LEFT JOIN
       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
              ON
                     [Service Item Component].[Variant Code] = [Item Variant].[Code]
11Serial No. SearchSerial No.NormalCode50Serial No_nvarchar(100)
12Description SearchDescriptionNormalText100Descriptionnvarchar(200)
13Description 2 SearchDescription 2NormalText50Description 2nvarchar(100)
15Service Order No. SearchService Order No.NormalCode20Service Order No_nvarchar(40)
16From Line No. SearchFrom Line No.NormalInteger4From Line No_int
17Last Date Modified SearchLast Date ModifiedNormalDate4Last Date Modifieddatetime
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
       [Service Item Component].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Service Item Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Component]
LEFT JOIN
       [User] AS [User]
              ON
                     [Service Item Component].[$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
       [Service Item Component].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Service Item Component$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Component]
LEFT JOIN
       [User] AS [User]
              ON
                     [Service Item Component].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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