Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5064
Table Type: Company
Table Name: Interaction Template
Database Table Name: CRONUS UK Ltd_$Interaction Template$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 Interaction Template can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Interaction Group Code]
,[Description]
,[Unit Cost (LCY)]
,[Unit Duration (Min_)]
,[Information Flow]
,[Initiated By]
,[Campaign No_]
,[Campaign Target]
,[Campaign Response]
,[Correspondence Type (Default)]
,[Language Code (Default)]
,[Wizard Action]
,[Ignore Contact Corres_ Type]
,[Word Template Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template]
LEFT JOIN
[CRONUS UK Ltd_$Interaction Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Group]
ON
[Interaction Template].[Interaction Group Code] = [Interaction Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Interaction Template].[Language Code (Default)] = [Language].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Word Template$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Word Template]
ON
[Interaction Template].[Word Template Code] = [Word Template].[Code]
LEFT JOIN
[User] AS [User]
ON
[Interaction Template].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Interaction Template].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Interaction Template table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
2 | Interaction Group Code | Interaction Group Code | Normal | Code | 10 | Interaction Group Code | nvarchar(20) |
Key to join to the Interaction Group table.Show/hide example querySELECT [Interaction Template].[Interaction Group Code] ,[Interaction Group].[Code] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [CRONUS UK Ltd_$Interaction Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Group] ON [Interaction Template].[Interaction Group Code] = [Interaction Group].[Code] | |||||||
3 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
4 | Unit Cost (LCY) | Unit Cost ($) | Normal | Decimal | 12 | Unit Cost (LCY) | decimal(38,38) |
5 | Unit Duration (Min.) | Unit Duration (Min.) | Normal | Decimal | 12 | Unit Duration (Min_) | decimal(38,38) |
6 | Information Flow | Information Flow | Normal | Option | 4 | Information Flow | int |
Available options are:
| |||||||
7 | Initiated By | Initiated By | Normal | Option | 4 | Initiated By | int |
Available options are:
| |||||||
8 | Attachment No. | Attachment No. | FlowField | Integer | 4 | ||
Key to join to the Attachment table.Show/hide example querySELECT [Interaction Template].[] ,[Attachment].[No_] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [CRONUS UK Ltd_$Attachment$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Attachment] ON [Interaction Template].[] = [Attachment].[No_] | |||||||
9 | Campaign No. | Campaign No. | Normal | Code | 20 | Campaign No_ | nvarchar(40) |
Key to join to the Campaign table.Show/hide example querySELECT [Interaction Template].[Campaign No_] ,[Campaign].[No_] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [CRONUS UK Ltd_$Campaign$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Campaign] ON [Interaction Template].[Campaign No_] = [Campaign].[No_] | |||||||
10 | Campaign Target | Campaign Target | Normal | Boolean | 4 | Campaign Target | tinyint |
11 | Campaign Response | Campaign Response | Normal | Boolean | 4 | Campaign Response | tinyint |
12 | Correspondence Type (Default) | Correspondence Type (Default) | Normal | Option | 4 | Correspondence Type (Default) | int |
Available options are:
| |||||||
13 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
14 | No. of Interactions | No. of Interactions | FlowField | Integer | 4 | ||
15 | Cost (LCY) | Cost ($) | FlowField | Decimal | 12 | ||
16 | Duration (Min.) | Duration (Min.) | FlowField | Decimal | 12 | ||
17 | Language Code (Default) | Language Code (Default) | Normal | Code | 10 | Language Code (Default) | nvarchar(20) |
Key to join to the Language table.Show/hide example querySELECT [Interaction Template].[Language Code (Default)] ,[Language].[Code] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Interaction Template].[Language Code (Default)] = [Language].[Code] | |||||||
18 | Wizard Action | Wizard Action | Normal | Option | 4 | Wizard Action | int |
Available options are:
| |||||||
19 | Ignore Contact Corres. Type | Ignore Contact Corres. Type | Normal | Boolean | 4 | Ignore Contact Corres_ Type | tinyint |
20 | Word Template Code | Word Template Code | Normal | Code | 30 | Word Template Code | nvarchar(60) |
Key to join to the Word Template table.Show/hide example querySELECT [Interaction Template].[Word Template Code] ,[Word Template].[Code] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [CRONUS UK Ltd_$Word Template$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Word Template] ON [Interaction Template].[Word Template Code] = [Word Template].[Code] | |||||||
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 [Interaction Template].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Interaction Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Interaction Template] LEFT JOIN [User] AS [User] ON [Interaction Template].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |