Service Module Setup

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

Table Type: Company

Table Name: Service Module Setup
Database Table Name: CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31

Table Number: 4765

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 Module Setup can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31]

Show/hide an example select of all columns by name

SELECT
   [Primary Key]
   ,[Customer No_]
   ,[Item 1 No_]
   ,[Service Item 1 No_]
   ,[Service Item 2 No_]
   ,[Resource 1 No_]
   ,[Resource 2 No_]
   ,[Service Location]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [Service Module Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Service Module Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Service Module Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalCode20Primary Keynvarchar(40)
2Customer No. SearchCustomer No.NormalCode20Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
       [Service Module Setup].[Customer No_]
       ,[Customer].[No_]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
              ON
                     [Service Module Setup].[Customer No_] = [Customer].[No_]
3Item 1 No. SearchItem 1 No.NormalCode20Item 1 No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
       [Service Module Setup].[Item 1 No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
              ON
                     [Service Module Setup].[Item 1 No_] = [Item].[No_]
4Service Item 1 No. SearchService Item 1 No.NormalCode20Service Item 1 No_nvarchar(40)
5Service Item 2 No. SearchService Item 2 No.NormalCode20Service Item 2 No_nvarchar(40)
6Resource 1 No. SearchResource 1 No.NormalCode20Resource 1 No_nvarchar(40)
Key to join to the Resource table.

Show/hide example query

SELECT
       [Service Module Setup].[Resource 1 No_]
       ,[Resource].[No_]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
              ON
                     [Service Module Setup].[Resource 1 No_] = [Resource].[No_]
7Resource 2 No. SearchResource 2 No.NormalCode20Resource 2 No_nvarchar(40)
Key to join to the Resource table.

Show/hide example query

SELECT
       [Service Module Setup].[Resource 2 No_]
       ,[Resource].[No_]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
              ON
                     [Service Module Setup].[Resource 2 No_] = [Resource].[No_]
8Service Location SearchService LocationNormalCode10Service Locationnvarchar(20)
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 Module Setup].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [Service Module Setup].[$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 Module Setup].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Service Module Setup$5a0b41e9-7a42-4123-d521-2265186cfb31] AS [Service Module Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [Service Module Setup].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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