Designed Query Filter

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

Table Type: System

Table Name: Designed Query Filter
Database Table Name: Designed Query Filter

Table Number: 2000000219

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [Designed Query Filter]

Show/hide an example select of all columns by name

SELECT
   [Query ID]
   ,[Data Item]
   ,[Source Reference]
   ,[Order]
   ,[Filter Type]
   ,[Value]
   ,[Ignore Case]
   ,[Filter Expression Type]
   ,[Operand Count]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Designed Query Filter]

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

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

Show/hide columns in Designed Query Filter table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Query ID SearchQuery IDNormalBigInteger8Query IDbigint
2Data Item Primary Key SearchData ItemNormalText120Data Itemnvarchar(240)
3Source Reference Primary Key SearchSource ReferenceNormalText120Source Referencenvarchar(240)
4Order Primary Key SearchOrderNormalInteger4Orderint
5Filter Type Primary Key SearchFilter TypeNormalOption4Filter Typeint
Available options are:
  • “Equal”
  • “NotEqual”
  • “GreaterThan”
  • “GreaterThanEqual”
  • “LessThan”
  • “LessThanEqual”
  • “Contains”
6Value SearchValueNormalText2048Valuenvarchar(4096)
7Ignore Case SearchIgnore CaseNormalBoolean4Ignore Casetinyint
8Filter Expression Type SearchFilter Expression TypeNormalOption4Filter Expression Typeint
Available options are:
  • “Filter”
  • “Logical”
9Operand Count SearchOperand CountNormalInteger4Operand Countint
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
	       [Designed Query Filter].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Designed Query Filter] AS [Designed Query Filter]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Designed Query Filter].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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