Data Exch. Field Mapping Buf.

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

Table Type: Company

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

Table Number: 1265

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Data Exchange Def Code]
   ,[Data Exchange Line Def Code]
   ,[Table ID]
   ,[Column No_]
   ,[Type]
   ,[Field ID]
   ,[Default Value]
   ,[Source]
   ,[Caption]
   ,[Depth]
   ,[Transformation Rule]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Data Exch_ Field Mapping Buf_$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 Buf_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping Buf.]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Data Exch. Field Mapping Buf.].[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 Buf.].[Transformation Rule] = [Transformation Rule].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Field Mapping Buf.].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Field Mapping Buf.].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Data Exch. Field Mapping Buf. table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Data Exchange Def Code SearchData Exchange Def CodeNormalCode20Data Exchange Def Codenvarchar(40)
2Data Exchange Line Def Code Primary Key SearchData Exchange Line Def CodeNormalCode20Data Exchange Line Def Codenvarchar(40)
3Table ID Primary Key SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [Data Exch. Field Mapping Buf.].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Field Mapping Buf_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Field Mapping Buf.]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [Data Exch. Field Mapping Buf.].[Table ID] = [Data Exch. Mapping].[Table ID]
4Column No. Primary Key SearchColumn No.NormalInteger4Column No_int
5Type SearchTypeNormalOption4Typeint
Available options are:
  • “Field”
  • “Table”
10Field ID SearchField IDNormalInteger4Field IDint
11Default Value Primary Key SearchDefault ValueNormalText250Default Valuenvarchar(500)
13Source SearchSourceNormalText250Sourcenvarchar(500)
20Caption SearchCaptionNormalText250Captionnvarchar(500)
22Depth SearchDepthNormalInteger4Depthint
23Transformation Rule SearchTransformation RuleNormalCode20Transformation Rulenvarchar(40)
Key to join to the Transformation Rule table.

Show/hide example query

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