Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1514
Table Type: Company
Table Name: Sent Notification Entry
Database Table Name: CRONUS UK Ltd_$Sent Notification Entry$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 Sent Notification Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Type]
,[Recipient User ID]
,[Triggered By Record]
,[Link Target Page]
,[Custom Link]
,[Created Date-Time]
,[Created By]
,[Sent Date-Time]
,[Notification Content]
,[Notification Method]
,[Aggregated with Entry]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sent Notification Entry]
LEFT JOIN
[CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup]
ON
[Sent Notification Entry].[Recipient User ID] = [User Setup].[User ID]
LEFT JOIN
[User] AS [User]
ON
[Sent Notification Entry].[Created By] = [User].[User Name]
LEFT JOIN
[CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sent Notification Entry]
ON
[Sent Notification Entry].[Aggregated with Entry] = [Sent Notification Entry].[ID]
LEFT JOIN
[User] AS [User]
ON
[Sent Notification Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Sent Notification Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Sent Notification Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | Integer | 4 | ID | int |
3 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
4 | Recipient User ID | Recipient User ID | Normal | Code | 50 | Recipient User ID | nvarchar(100) |
Key to join to the User Setup table.Show/hide example querySELECT [Sent Notification Entry].[Recipient User ID] ,[User Setup].[User ID] FROM [CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sent Notification Entry] LEFT JOIN [CRONUS UK Ltd_$User Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [User Setup] ON [Sent Notification Entry].[Recipient User ID] = [User Setup].[User ID] | |||||||
5 | Triggered By Record | Triggered By Record | Normal | RecordID | 448 | Triggered By Record | varbinary(448) |
6 | Link Target Page | Link Target Page | Normal | Integer | 4 | Link Target Page | int |
7 | Custom Link | Custom Link | Normal | Text | 250 | Custom Link | nvarchar(500) |
9 | Created Date-Time | Created Date-Time | Normal | DateTime | 8 | Created Date-Time | datetime |
10 | Created By | Created By | Normal | Code | 50 | Created By | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Sent Notification Entry].[Created By] ,[User].[User Name] FROM [CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sent Notification Entry] LEFT JOIN [User] AS [User] ON [Sent Notification Entry].[Created By] = [User].[User Name] | |||||||
11 | Sent Date-Time | Sent Date-Time | Normal | DateTime | 8 | Sent Date-Time | datetime |
12 | Notification Content | Notification Content | Normal | BLOB | 8 | Notification Content | image |
13 | Notification Method | Notification Method | Normal | Option | 4 | Notification Method | int |
Available options are:
| |||||||
14 | Aggregated with Entry | Aggregated with Entry | Normal | Integer | 4 | Aggregated with Entry | int |
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 [Sent Notification Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Sent Notification Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sent Notification Entry] LEFT JOIN [User] AS [User] ON [Sent Notification Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |