Transformation Rule

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

Table Type: Company

Table Name: Transformation Rule
Database Table Name: CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1237

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Code]
   ,[Description]
   ,[Transformation Type]
   ,[Find Value]
   ,[Replace Value]
   ,[Starting Text]
   ,[Ending Text]
   ,[Start Position]
   ,[Length]
   ,[Data Format]
   ,[Data Formatting Culture]
   ,[Next Transformation Rule]
   ,[Table ID]
   ,[Source Field ID]
   ,[Target Field ID]
   ,[Field Lookup Rule]
   ,[Precision]
   ,[Direction]
   ,[Extract From Date Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
LEFT JOIN
   [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
      ON
         [Transformation Rule].[Next Transformation Rule] = [Transformation Rule].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Transformation Rule].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Transformation Rule].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Transformation Rule].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Transformation Rule table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Code Primary Key SearchCodeNormalCode20Codenvarchar(40)
2Description SearchDescriptionNormalText100Descriptionnvarchar(200)
3Transformation Type SearchTransformation TypeNormalOption4Transformation Typeint
Available options are:
  • “Uppercase”
  • “Lowercase”
  • “Title Case”
  • “Trim”
  • “Substring”
  • “Replace”
  • “Regular Expression – Replace”
  • “Remove Non-Alphanumeric Characters”
  • “Date Formatting”
  • “Decimal Formatting”
  • “Regular Expression – Match”
  • “Custom”
  • “Date and Time Formatting”
  • “Field Lookup”
  • “Round”
  • “Extract From Date”
10Find Value SearchFind ValueNormalText250Find Valuenvarchar(500)
11Replace Value SearchReplace ValueNormalText250Replace Valuenvarchar(500)
12Starting Text SearchStarting TextNormalText250Starting Textnvarchar(500)
13Ending Text SearchEnding TextNormalText250Ending Textnvarchar(500)
15Start Position SearchStart PositionNormalInteger4Start Positionint
16Length SearchLengthNormalInteger4Lengthint
18Data Format SearchData FormatNormalText100Data Formatnvarchar(200)
20Data Formatting Culture SearchData Formatting CultureNormalText10Data Formatting Culturenvarchar(20)
30Next Transformation Rule SearchNext Transformation RuleNormalCode20Next Transformation Rulenvarchar(40)
50Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
       [Transformation Rule].[Table ID]
       ,[Data Exch. Mapping].[Table ID]
FROM
       [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
LEFT JOIN
       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
              ON
                     [Transformation Rule].[Table ID] = [Data Exch. Mapping].[Table ID]
51Table Caption SearchTable IDFlowFieldText250
52Source Field ID SearchSource Field IDNormalInteger4Source Field IDint
53Source Field Caption SearchSource Field CaptionFlowFieldText250
54Target Field ID SearchTarget Field IDNormalInteger4Target Field IDint
55Target Field Caption SearchTarget Field CaptionFlowFieldText250
56Field Lookup Rule SearchField Lookup RuleNormalOption4Field Lookup Ruleint
Available options are:
  • “Target”
  • “Original If Target Is Blank”
57Precision SearchPrecisionNormalDecimal12Precisiondecimal(38,38)
58Direction SearchDirectionNormalText1Directionnvarchar(2)
70Extract From Date Type SearchExtract From Date TypeNormalOption4Extract From Date Typeint
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
       [Transformation Rule].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
LEFT JOIN
       [User] AS [User]
              ON
                     [Transformation Rule].[$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
       [Transformation Rule].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Transformation Rule$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Transformation Rule]
LEFT JOIN
       [User] AS [User]
              ON
                     [Transformation Rule].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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