CRM Option Mapping

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

Table Type: Company

Table Name: CRM Option Mapping
Database Table Name: CRONUS UK Ltd_$CRM Option Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5334

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Record ID]
   ,[Option Value]
   ,[Table ID]
   ,[Integration Table ID]
   ,[Integration Field ID]
   ,[Option Value Caption]
   ,[Last Synch_ Result]
   ,[Skipped]
   ,[Last Synch_ Job ID]
   ,[Last Synch_ CRM Result]
   ,[Last Synch_ CRM Job ID]
   ,[Last Synch_ Modified On]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$CRM Option 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_$CRM Option Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CRM Option Mapping]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [CRM Option Mapping].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [CRM Option Mapping].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [CRM Option Mapping].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in CRM Option Mapping table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Record ID SearchRecord IDNormalRecordID448Record IDvarbinary(448)
2Option Value Primary Key SearchOption ValueNormalInteger4Option Valueint
3Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [CRM Option Mapping].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$CRM Option Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CRM Option Mapping]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [CRM Option Mapping].[Table ID] = [Data Exch. Mapping].[Table ID]
4Integration Table ID SearchIntegration Table IDNormalInteger4Integration Table IDint
5Integration Field ID SearchIntegration Field IDNormalInteger4Integration Field IDint
6Option Value Caption SearchOption Value CaptionNormalText250Option Value Captionnvarchar(500)
7Last Synch. Result SearchLast Synch. ResultNormalOption4Last Synch_ Resultint
Available options are:
  • “”
  • “Success”
  • “Failure”
8Skipped SearchSkippedNormalBoolean4Skippedtinyint
9Last Synch. Job ID SearchLast Synch. Job IDNormalGUID16Last Synch_ Job IDuniqueidentifier
10Last Synch. CRM Result SearchLast Synch. CRM ResultNormalOption4Last Synch_ CRM Resultint
Available options are:
  • “”
  • “Success”
  • “Failure”
11Last Synch. CRM Job ID SearchLast Synch. CRM Job IDNormalGUID16Last Synch_ CRM Job IDuniqueidentifier
12Last Synch. Modified On SearchLast Synch. Modified OnNormalDateTime8Last Synch_ Modified Ondatetime
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
	       [CRM Option Mapping].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$CRM Option Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [CRM Option Mapping]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [CRM Option 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 *