Standard Service Line

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

Table Type: Company

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

Table Number: 5997

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 Standard Service Line can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Standard Service Code]
   ,[Line No_]
   ,[Type]
   ,[No_]
   ,[Description]
   ,[Quantity]
   ,[Amount Excl_ VAT]
   ,[Unit of Measure Code]
   ,[Shortcut Dimension 1 Code]
   ,[Shortcut Dimension 2 Code]
   ,[Variant Code]
   ,[Dimension Set ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Standard Service 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_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
   [CRONUS UK Ltd_$Standard Service Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Code]
      ON
         [Standard Service Line].[Standard Service Code] = [Standard Service Code].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Standard Service Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Standard Service Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Standard Service Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
      ON
         [Standard Service Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Standard Service Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Standard Service Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Standard Service Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Standard Service Code Primary Key SearchStandard Service CodeNormalCode10Standard Service Codenvarchar(20)
Key to join to the Standard Service Code table.

Show/hide example query

SELECT
       [Standard Service Line].[Standard Service Code]
       ,[Standard Service Code].[Code]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [CRONUS UK Ltd_$Standard Service Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Code]
              ON
                     [Standard Service Line].[Standard Service Code] = [Standard Service Code].[Code]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Type SearchTypeNormalOption4Typeint
Available options are:
  • ” “
  • “Item”
  • “Resource”
  • “Cost”
  • “G/L Account”
4No. SearchNo.NormalCode20No_nvarchar(40)
5Description SearchDescriptionNormalText100Descriptionnvarchar(200)
6Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
7Amount Excl. VAT SearchAmount Excl. TaxNormalDecimal12Amount Excl_ VATdecimal(38,38)
8Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
9Shortcut Dimension 1 Code SearchShortcut Dimension 1 CodeNormalCode20Shortcut Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Standard Service Line].[Shortcut Dimension 1 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Standard Service Line].[Shortcut Dimension 1 Code] = [Dimension].[Code]
10Shortcut Dimension 2 Code SearchShortcut Dimension 2 CodeNormalCode20Shortcut Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Standard Service Line].[Shortcut Dimension 2 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Standard Service Line].[Shortcut Dimension 2 Code] = [Dimension].[Code]
11Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
       [Standard Service Line].[Variant Code]
       ,[Item Variant].[Code]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
              ON
                     [Standard Service Line].[Variant Code] = [Item Variant].[Code]
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
       [Standard Service Line].[Dimension Set ID]
       ,[Dimension Set Entry].[Dimension Set ID]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
              ON
                     [Standard Service Line].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
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
       [Standard Service Line].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Standard Service Line].[$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
       [Standard Service Line].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Standard Service Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Standard Service Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Standard Service Line].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Standard Service Line table

Leave a Reply

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