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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 20 | Code | nvarchar(40) |
2 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
3 | Transformation Type | Transformation Type | Normal | Option | 4 | Transformation Type | int |
Available options are:
| |||||||
10 | Find Value | Find Value | Normal | Text | 250 | Find Value | nvarchar(500) |
11 | Replace Value | Replace Value | Normal | Text | 250 | Replace Value | nvarchar(500) |
12 | Starting Text | Starting Text | Normal | Text | 250 | Starting Text | nvarchar(500) |
13 | Ending Text | Ending Text | Normal | Text | 250 | Ending Text | nvarchar(500) |
15 | Start Position | Start Position | Normal | Integer | 4 | Start Position | int |
16 | Length | Length | Normal | Integer | 4 | Length | int |
18 | Data Format | Data Format | Normal | Text | 100 | Data Format | nvarchar(200) |
20 | Data Formatting Culture | Data Formatting Culture | Normal | Text | 10 | Data Formatting Culture | nvarchar(20) |
30 | Next Transformation Rule | Next Transformation Rule | Normal | Code | 20 | Next Transformation Rule | nvarchar(40) |
50 | Table ID | Table ID | Normal | Integer | 4 | Table ID | int |
Key to join to the Data Exch. Mapping table.Show/hide example querySELECT [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] | |||||||
51 | Table Caption | Table ID | FlowField | Text | 250 | ||
52 | Source Field ID | Source Field ID | Normal | Integer | 4 | Source Field ID | int |
53 | Source Field Caption | Source Field Caption | FlowField | Text | 250 | ||
54 | Target Field ID | Target Field ID | Normal | Integer | 4 | Target Field ID | int |
55 | Target Field Caption | Target Field Caption | FlowField | Text | 250 | ||
56 | Field Lookup Rule | Field Lookup Rule | Normal | Option | 4 | Field Lookup Rule | int |
Available options are:
| |||||||
57 | Precision | Precision | Normal | Decimal | 12 | Precision | decimal(38,38) |
58 | Direction | Direction | Normal | Text | 1 | Direction | nvarchar(2) |
70 | Extract From Date Type | Extract From Date Type | Normal | Option | 4 | Extract From Date Type | int |
Available options are:
| |||||||
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 [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |