Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7231
Table Type: Company
Table Name: Master Data Mgt. Coupling
Database Table Name:
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 Master Data Mgt. Coupling can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[]
Show/hide an example select of all columns by name
SELECT
[Last Synch_ Modified On]
,[Last Synch_ Int_ Modified On]
,[Table ID]
,[Last Synch_ Result]
,[Last Synch_ Int_ Result]
,[Last Synch_ Job ID]
,[Last Synch_ Int_ Job ID]
,[Skipped]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Master Data Mgt_ Coupling$a01864f8-9c3f-42f6-8328-8d7be1ce3e20] AS [Master Data Mgt. Coupling]
LEFT JOIN
[CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
ON
[Master Data Mgt. Coupling].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
[User] AS [User]
ON
[Master Data Mgt. Coupling].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Master Data Mgt. Coupling].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Master Data Mgt. Coupling table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | Integration System ID | Integration System ID | Normal | GUID | 16 | ||
3 | Local System ID | Local System ID | Normal | GUID | 16 | ||
4 | Last Synch. Modified On | Last Synch. Modified On | Normal | DateTime | 8 | Last Synch_ Modified On | datetime |
5 | Last Synch. Int. Modified On | Last Synch. Int. Modified On | Normal | DateTime | 8 | Last Synch_ Int_ Modified On | datetime |
6 | Table ID | Table ID | Normal | Integer | 4 | Table ID | int |
Key to join to the Data Exch. Mapping table.Show/hide example querySELECT [Master Data Mgt. Coupling].[Table ID] ,[Data Exch. Mapping].[Table ID] FROM [] AS [Master Data Mgt. Coupling] LEFT JOIN [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping] ON [Master Data Mgt. Coupling].[Table ID] = [Data Exch. Mapping].[Table ID] | |||||||
7 | Last Synch. Result | Last Synch. Result | Normal | Option | 4 | Last Synch_ Result | int |
Available options are:
| |||||||
8 | Last Synch. Int. Result | Last Synch. Int. Result | Normal | Option | 4 | Last Synch_ Int_ Result | int |
Available options are:
| |||||||
9 | Last Synch. Job ID | Last Synch. Job ID | Normal | GUID | 16 | Last Synch_ Job ID | uniqueidentifier |
10 | Last Synch. Int. Job ID | Last Synch. Int. Job ID | Normal | GUID | 16 | Last Synch_ Int_ Job ID | uniqueidentifier |
11 | Skipped | Skipped | Normal | Boolean | 4 | Skipped | tinyint |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Master Data Mgt. Coupling].[$systemCreatedBy] ,[User].[User Security ID] FROM [] AS [Master Data Mgt. Coupling] LEFT JOIN [User] AS [User] ON [Master Data Mgt. Coupling].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |