Config. Field Map

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

Table Type: Company

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

Table Number: 8629

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. Field Map can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Package Code]
   ,[Table ID]
   ,[Field ID]
   ,[Field Name]
   ,[Old Value]
   ,[New Value]
   ,[ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Config_ Field Map$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_ Field Map$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Field Map]
LEFT JOIN
   [CRONUS UK Ltd_$Config_ Package$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Package]
      ON
         [Config. Field Map].[Package Code] = [Config. Package].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Config. Field Map].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Field Map].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Config. Field Map].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Config. Field Map table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Package Code SearchPackage CodeNormalCode20Package Codenvarchar(40)
Key to join to the Config. Package table.

Show/hide example query

SELECT
       [Config. Field Map].[Package Code]
       ,[Config. Package].[Code]
FROM
       [CRONUS UK Ltd_$Config_ Field Map$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Field Map]
LEFT JOIN
       [CRONUS UK Ltd_$Config_ Package$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Package]
              ON
                     [Config. Field Map].[Package Code] = [Config. Package].[Code]
2Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Config. Field Map].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Config_ Field Map$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Field Map]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Config. Field Map].[Table ID] = [Data Exch. Mapping].[Table ID]
3Field ID SearchField IDNormalInteger4Field IDint
4Field Name SearchField NameNormalText30Field Namenvarchar(60)
5Old Value SearchOld ValueNormalText2048Old Valuenvarchar(4096)
6New Value SearchNew ValueNormalText2048New Valuenvarchar(4096)
7ID Primary Key SearchIDNormalBigInteger8IDbigint
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. Field Map].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Field Map$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Field Map]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Field Map].[$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. Field Map].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Config_ Field Map$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Config. Field Map]
LEFT JOIN
       [User] AS [User]
              ON
                     [Config. Field Map].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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