Source Table Mapping

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

Table Type: System

Table Name: Source Table Mapping
Database Table Name:

Table Number: 4018

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

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

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

SELECT
   *
FROM
   [] AS [Source Table Mapping]
LEFT JOIN
   [User] AS [User]
      ON
         [Source Table Mapping].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Source Table Mapping].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Source Table Mapping table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Source Table Name SearchSource Table NameNormalText128
2Country Code Primary Key SearchCountry CodeNormalCode10
3Destination Table Name Primary Key SearchDestination Table NameNormalText128
4Staged Primary Key SearchStagedNormalBoolean4
5App Id SearchApp IdNormalGUID16
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [Source Table Mapping].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [Source Table Mapping]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Source Table Mapping].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

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