Data Exch. Column Def

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

Table Type: Company

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

Table Number: 1223

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Data Exch_ Def Code]
   ,[Column No_]
   ,[Name]
   ,[Show]
   ,[Data Type]
   ,[Data Format]
   ,[Data Formatting Culture]
   ,[Description]
   ,[Data Exch_ Line Def Code]
   ,[Length]
   ,[Constant]
   ,[Path]
   ,[Negative-Sign Identifier]
   ,[Text Padding Required]
   ,[Pad Character]
   ,[Justification]
   ,[Use Node Name as Value]
   ,[Blank Zero]
   ,[Export If Not Blank]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Data Exch_ Column Def$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_ Column Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Column Def]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Column Def].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Data Exch. Column Def].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Data Exch. Column Def table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Data 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. Column Def].[Data Exch_ Def Code]
	       ,[Data Exch. Def].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Column Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Column Def]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Def]
	              ON
	                     [Data Exch. Column Def].[Data Exch_ Def Code] = [Data Exch. Def].[Code]
2Column No. Primary Key SearchColumn No.NormalInteger4Column No_int
3Name Primary Key SearchNameNormalText250Namenvarchar(500)
4Show SearchShowNormalBoolean4Showtinyint
5Data Type SearchData TypeNormalOption4Data Typeint
Available options are:
  • “Text”
  • “Date”
  • “Decimal”
  • “DateTime”
6Data Format SearchData FormatNormalText100Data Formatnvarchar(200)
7Data Formatting Culture SearchData Formatting CultureNormalText10Data Formatting Culturenvarchar(20)
8Description SearchDescriptionNormalText100Descriptionnvarchar(200)
10Data 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. Column Def].[Data Exch_ Line Def Code]
	       ,[Data Exch. Line Def].[Code]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Column Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Column Def]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Line Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Line Def]
	              ON
	                     [Data Exch. Column Def].[Data Exch_ Line Def Code] = [Data Exch. Line Def].[Code]
11Length Primary Key SearchLengthNormalInteger4Lengthint
12Constant SearchConstantNormalText30Constantnvarchar(60)
13Path SearchPathNormalText250Pathnvarchar(500)
14Negative-Sign Identifier SearchNegative-Sign IdentifierNormalText30Negative-Sign Identifiernvarchar(60)
15Text Padding Required SearchText Padding RequiredNormalBoolean4Text Padding Requiredtinyint
16Pad Character SearchPad CharacterNormalText1Pad Characternvarchar(2)
17Justification SearchJustificationNormalOption4Justificationint
Available options are:
  • “Right”
  • “Left”
18Use Node Name as Value SearchUse Node Name as ValueNormalBoolean4Use Node Name as Valuetinyint
19Blank Zero SearchBlank ZeroNormalBoolean4Blank Zerotinyint
20Export If Not Blank SearchExport If Not BlankNormalBoolean4Export If Not Blanktinyint
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. Column Def].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Data Exch_ Column Def$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Column Def]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Data Exch. Column Def].[$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 *