Data Exch.

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

Table Type: Company

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

Table Number: 1220

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[File Name]
   ,[File Content]
   ,[Data Exch_ Def Code]
   ,[Data Exch_ Line Def Code]
   ,[Table Filters]
   ,[Incoming Entry No_]
   ,[Related Record]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Data Exch_$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_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch.].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch.].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Data Exch. table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. Primary Key SearchEntry No.NormalInteger4Entry No_int
2File Name SearchFile NameNormalText250File Namenvarchar(500)
3File Content SearchFile ContentNormalBLOB8File Contentimage
4Data 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.].[Data Exch_ Def Code]
       ,[Data Exch. Def].[Code]
FROM
       [CRONUS UK Ltd_$Data Exch_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Def]
              ON
                     [Data Exch.].[Data Exch_ Def Code] = [Data Exch. Def].[Code]
5Data 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.].[Data Exch_ Line Def Code]
       ,[Data Exch. Line Def].[Code]
FROM
       [CRONUS UK Ltd_$Data Exch_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Line Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Line Def]
              ON
                     [Data Exch.].[Data Exch_ Line Def Code] = [Data Exch. Line Def].[Code]
6Table Filters SearchTable FiltersNormalBLOB8Table Filtersimage
10Incoming Entry No. SearchIncoming Entry No.NormalInteger4Incoming Entry No_int
Key to join to the Incoming Document table.

Show/hide example query

SELECT
       [Data Exch.].[Incoming Entry No_]
       ,[Incoming Document].[Entry No_]
FROM
       [CRONUS UK Ltd_$Data Exch_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
       [CRONUS UK Ltd_$Incoming Document$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Incoming Document]
              ON
                     [Data Exch.].[Incoming Entry No_] = [Incoming Document].[Entry No_]
11Related Record SearchRelated RecordNormalRecordID448Related Recordvarbinary(448)
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.].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Data Exch_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
       [User] AS [User]
              ON
                     [Data Exch.].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Data Exch.].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Data Exch_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch.]
LEFT JOIN
       [User] AS [User]
              ON
                     [Data Exch.].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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