Data Exch. Field Mapping

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

Table Type: Company

Table Name: Data Exch. Field Mapping
Database Table Name: CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1225

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 Data Exch. Field Mapping can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Data Exch_ Def Code]
   ,[Table ID]
   ,[Column No_]
   ,[Field ID]
   ,[Optional]
   ,[Use Default Value]
   ,[Default Value]
   ,[Data Exch_ Line Def Code]
   ,[Multiplier]
   ,[Target Table ID]
   ,[Target Field ID]
   ,[Transformation Rule]
   ,[Overwrite Value]
   ,[Priority]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Data Exch. Field Mapping].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
      ON
         [Data Exch. Field Mapping].[Transformation Rule] = [Transformation Rule].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Field Mapping].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Field Mapping].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Data Exch. Field Mapping table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Data Exch. Def Code SearchData Exch. Def CodeNormalCode20Data Exch_ Def Codenvarchar(40)
Key to join to the Data Exch. Def table.

Show/hide example query

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

Show/hide example query

SELECT
	       [Data Exch. Field Mapping].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [Data Exch. Field Mapping].[Table ID] = [Data Exch. Mapping].[Table ID]
3Column No. Primary Key SearchColumn No.NormalInteger4Column No_int
4Field ID Primary Key SearchField IDNormalInteger4Field IDint
5Optional Primary Key SearchOptionalNormalBoolean4Optionaltinyint
6Use Default Value SearchUse Default ValueNormalBoolean4Use Default Valuetinyint
7Default Value SearchDefault ValueNormalText250Default Valuenvarchar(500)
8Data Exch. Line Def Code SearchData Exch. Line Def CodeNormalCode20Data Exch_ Line Def Codenvarchar(40)
Key to join to the Data Exch. Line Def table.

Show/hide example query

SELECT
	       [Data Exch. Field Mapping].[Data Exch_ Line Def Code]
	       ,[Data Exch. Line Def].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Line Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Line Def]
	              ON
	                     [Data Exch. Field Mapping].[Data Exch_ Line Def Code] = [Data Exch. Line Def].[Code]
9Multiplier Primary Key SearchMultiplierNormalDecimal12Multiplierdecimal(38,38)
10Target Table ID SearchTarget Table IDNormalInteger4Target Table IDint
11Target Field ID SearchTarget Field IDNormalInteger4Target Field IDint
12Target Table Caption SearchTarget Table CaptionFlowFieldText250
13Target Field Caption SearchTarget Field CaptionFlowFieldText80
14Target Table Field Caption SearchTarget Field CaptionFlowFieldText80
20Transformation Rule SearchTransformation RuleNormalCode20Transformation Rulenvarchar(40)
Key to join to the Transformation Rule table.

Show/hide example query

SELECT
	       [Data Exch. Field Mapping].[Transformation Rule]
	       ,[Transformation Rule].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
	              ON
	                     [Data Exch. Field Mapping].[Transformation Rule] = [Transformation Rule].[Code]
21Overwrite Value SearchOverwrite ValueNormalBoolean4Overwrite Valuetinyint
30Priority SearchPriorityNormalInteger4Priorityint
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
	       [Data Exch. Field Mapping].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Field Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Data Exch. Field Mapping].[$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 *