Data Exch. Mapping

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

Table Type: Company

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

Table Number: 1224

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Data Exch_ Def Code]
   ,[Table ID]
   ,[Name]
   ,[Mapping Codeunit]
   ,[Data Exch_ No_ Field ID]
   ,[Data Exch_ Line Field ID]
   ,[Data Exch_ Line Def Code]
   ,[Pre-Mapping Codeunit]
   ,[Post-Mapping Codeunit]
   ,[Use as Intermediate Table]
   ,[Key Index]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Data Exch_ 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_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Data Exch. Mapping].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Mapping].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Mapping].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Data Exch. 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. Mapping].[Data Exch_ Def Code]
	       ,[Data Exch. Def].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Def]
	              ON
	                     [Data Exch. Mapping].[Data Exch_ Def Code] = [Data Exch. Def].[Code]
2Table ID Primary Key SearchTable IDNormalInteger4Table IDint
3Name Primary Key SearchNameNormalText250Namenvarchar(500)
4Mapping Codeunit SearchMapping CodeunitNormalInteger4Mapping Codeunitint
6Data Exch. No. Field ID SearchData Exch. No. Field IDNormalInteger4Data Exch_ No_ Field IDint
7Data Exch. Line Field ID SearchData Exch. Line Field IDNormalInteger4Data Exch_ Line Field IDint
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. Mapping].[Data Exch_ Line Def Code]
	       ,[Data Exch. Line Def].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Line Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Line Def]
	              ON
	                     [Data Exch. Mapping].[Data Exch_ Line Def Code] = [Data Exch. Line Def].[Code]
9Pre-Mapping Codeunit Primary Key SearchPre-Mapping CodeunitNormalInteger4Pre-Mapping Codeunitint
10Post-Mapping Codeunit SearchPost-Mapping CodeunitNormalInteger4Post-Mapping Codeunitint
20Use as Intermediate Table SearchUse as Intermediate TableNormalBoolean4Use as Intermediate Tabletinyint
21Key Index SearchKey IndexNormalInteger4Key Indexint
22Key SearchKeyFlowFieldText250
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. Mapping].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Data Exch. 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 *