Maintenance Registration

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

Table Type: Company

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

Table Number: 5616

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 Maintenance Registration can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [FA No_]
   ,[Line No_]
   ,[Service Date]
   ,[Maintenance Vendor No_]
   ,[Comment]
   ,[Service Agent Name]
   ,[Service Agent Phone No_]
   ,[Service Agent Mobile Phone]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Maintenance Registration$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in Maintenance Registration table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1FA No. Primary Key SearchFA No.NormalCode20FA No_nvarchar(40)
Key to join to the Fixed Asset table.

Show/hide example query

SELECT
       [Maintenance Registration].[FA No_]
       ,[Fixed Asset].[No_]
FROM
       [CRONUS UK Ltd_$Maintenance Registration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance Registration]
LEFT JOIN
       [CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
              ON
                     [Maintenance Registration].[FA No_] = [Fixed Asset].[No_]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Service Date SearchService DateNormalDate4Service Datedatetime
4Maintenance Vendor No. SearchMaintenance Vendor No.NormalCode20Maintenance Vendor No_nvarchar(40)
Key to join to the Vendor table.

Show/hide example query

SELECT
       [Maintenance Registration].[Maintenance Vendor No_]
       ,[Vendor].[No_]
FROM
       [CRONUS UK Ltd_$Maintenance Registration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance Registration]
LEFT JOIN
       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
              ON
                     [Maintenance Registration].[Maintenance Vendor No_] = [Vendor].[No_]
5Comment SearchCommentNormalText50Commentnvarchar(100)
6Service Agent Name SearchService Agent NameNormalText30Service Agent Namenvarchar(60)
7Service Agent Phone No. SearchService Agent Phone No.NormalText30Service Agent Phone No_nvarchar(60)
8Service Agent Mobile Phone SearchService Agent Mobile PhoneNormalText30Service Agent Mobile Phonenvarchar(60)
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
       [Maintenance Registration].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Maintenance Registration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance Registration]
LEFT JOIN
       [User] AS [User]
              ON
                     [Maintenance Registration].[$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
       [Maintenance Registration].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Maintenance Registration$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Maintenance Registration]
LEFT JOIN
       [User] AS [User]
              ON
                     [Maintenance Registration].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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