Config. Tmpl. Selection Rules

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

Table Type: Company

Table Name: Config. Tmpl. Selection Rules
Database Table Name: CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 8620

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 Config. Tmpl. Selection Rules can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Table ID]
   ,[Template Code]
   ,[Selection Criteria]
   ,[Order]
   ,[Page ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Tmpl. Selection Rules]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Config. Tmpl. Selection Rules].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [CRONUS UK Ltd_$Config_ Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Header]
      ON
         [Config. Tmpl. Selection Rules].[Template Code] = [Config. Template Header].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Tmpl. Selection Rules].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Tmpl. Selection Rules].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Config. Tmpl. Selection Rules table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Table ID Primary Key SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Config. Tmpl. Selection Rules].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Tmpl. Selection Rules]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Config. Tmpl. Selection Rules].[Table ID] = [Data Exch. Mapping].[Table ID]
2Template Code Primary Key SearchTemplate CodeNormalCode10Template Codenvarchar(20)
Key to join to the Config. Template Header table.

Show/hide example query

SELECT
       [Config. Tmpl. Selection Rules].[Template Code]
       ,[Config. Template Header].[Code]
FROM
       [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Tmpl. Selection Rules]
LEFT JOIN
       [CRONUS UK Ltd_$Config_ Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Header]
              ON
                     [Config. Tmpl. Selection Rules].[Template Code] = [Config. Template Header].[Code]
5Selection Criteria SearchSelection CriteriaNormalBLOB8Selection Criteriaimage
6Description SearchDescriptionFlowFieldText250
10Order SearchOrderNormalInteger4Orderint
11Page ID Primary Key SearchPage IDNormalInteger4Page IDint
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
       [Config. Tmpl. Selection Rules].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Tmpl. Selection Rules]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Tmpl. Selection Rules].[$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
       [Config. Tmpl. Selection Rules].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Tmpl_ Selection Rules$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Tmpl. Selection Rules]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Tmpl. Selection Rules].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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