Query Navigation

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

Table Type: System

Table Name: Query Navigation
Database Table Name: Query Navigation

Table Number: 2000000226

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 Query Navigation can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Query Navigation]

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Name]
   ,[Default]
   ,[Source Query Object Id]
   ,[Target Page Id]
   ,[Linking Data Item Name]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Query Navigation]

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

SELECT
   *
FROM
   [Query Navigation] AS [Query Navigation]
LEFT JOIN
   [User] AS [User]
      ON
         [Query Navigation].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Query Navigation].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Query Navigation table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id Primary Key SearchIdNormalBigInteger8Idbigint
2Name SearchNameNormalText250Namenvarchar(500)
3Default SearchDefaultNormalBoolean4Defaulttinyint
4Source Query Object Id SearchSource Query Object IdNormalInteger4Source Query Object Idint
5Target Page Id SearchTarget Page IdNormalInteger4Target Page Idint
6Linking Data Item Name SearchLinking Data Item NameNormalText250Linking Data Item Namenvarchar(500)
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
       [Query Navigation].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [Query Navigation] AS [Query Navigation]
LEFT JOIN
       [User] AS [User]
              ON
                     [Query Navigation].[$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
       [Query Navigation].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [Query Navigation] AS [Query Navigation]
LEFT JOIN
       [User] AS [User]
              ON
                     [Query Navigation].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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