Config. Template Line

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

Table Type: Company

Table Name: Config. Template Line
Database Table Name: CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 8619

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. Template Line can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Data Template Code]
   ,[Line No_]
   ,[Type]
   ,[Field ID]
   ,[Field Name]
   ,[Table ID]
   ,[Template Code]
   ,[Mandatory]
   ,[Reference]
   ,[Default Value]
   ,[Skip Relation Check]
   ,[Language ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Config_ Template Line$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_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
   [CRONUS UK Ltd_$Config_ Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Header]
      ON
         [Config. Template Line].[Data Template Code] = [Config. Template Header].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Config. Template Line].[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. Template Line].[Template Code] = [Config. Template Header].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
      ON
         [Config. Template Line].[Language ID] = [Language].[Windows Language ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Template Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Template Line].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Config. Template Line table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Data Template Code Primary Key SearchData Template CodeNormalCode10Data Template Codenvarchar(20)
Key to join to the Config. Template Header table.

Show/hide example query

SELECT
       [Config. Template Line].[Data Template Code]
       ,[Config. Template Header].[Code]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [CRONUS UK Ltd_$Config_ Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Header]
              ON
                     [Config. Template Line].[Data Template Code] = [Config. Template Header].[Code]
2Line No. Primary Key SearchLine No.NormalInteger4Line No_int
3Type SearchTypeNormalOption4Typeint
Available options are:
  • “Field”
  • “Template”
  • “Related Template”
4Field ID SearchField IDNormalInteger4Field IDint
5Field Name SearchField NameNormalText30Field Namenvarchar(60)
6Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Config. Template Line].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Config. Template Line].[Table ID] = [Data Exch. Mapping].[Table ID]
7Table Name SearchTable NameFlowFieldText250
8Template Code SearchTemplate CodeNormalCode10Template Codenvarchar(20)
Key to join to the Config. Template Header table.

Show/hide example query

SELECT
       [Config. Template Line].[Template Code]
       ,[Config. Template Header].[Code]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [CRONUS UK Ltd_$Config_ Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Header]
              ON
                     [Config. Template Line].[Template Code] = [Config. Template Header].[Code]
9Template Description SearchTemplate DescriptionFlowFieldText100
10Mandatory SearchMandatoryNormalBoolean4Mandatorytinyint
11Reference SearchReferenceNormalText250Referencenvarchar(500)
12Default Value SearchDefault ValueNormalText2048Default Valuenvarchar(4096)
13Table Caption SearchTable CaptionFlowFieldText250
14Field Caption SearchField CaptionFlowFieldText250
15Skip Relation Check SearchSkip Relation CheckNormalBoolean4Skip Relation Checktinyint
16Language ID SearchLanguage IDNormalInteger4Language IDint
Key to join to the Language table.

Show/hide example query

SELECT
       [Config. Template Line].[Language ID]
       ,[Language].[Windows Language ID]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
              ON
                     [Config. Template Line].[Language ID] = [Language].[Windows Language ID]
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. Template Line].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Template Line].[$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. Template Line].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Template Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Template Line]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Template Line].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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