Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = ''
 MESSAGE nvarchar(max)   Default = ''
 APPLYTOCODE tinyint   Default = 0 0=All users, 1=Selected users
 DISPLAYNOTIFICATIONWINDOW bit   Default = 0
 VALIDUNTIL datetime
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 APPLYTO nvarchar(14) (Computed) CASE [APPLYTOCODE] WHEN 0 THEN N'All users' WHEN 1 THEN N'Selected users' END Provides a translation for the 'APPLYTOCODE' field.
 ISSYSTEMGENERATED bit   Default = 0

Foreign Key Field Type Null Notes Description
 RECORDTYPEID uniqueidentifier   RECORDTYPE.ID FK to RECORDTYPE
 RECORDIDSETREGISTERID uniqueidentifier IDSETREGISTER.ID FK to IDSETREGISTER
 APPUSERIDSETREGISTERID uniqueidentifier IDSETREGISTER.ID FK to IDSETREGISTER
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_NOTIFICATION_APPUSERIDSETREGISTERID APPUSERIDSETREGISTERID      
 IX_NOTIFICATION_DATEADDED DATEADDED    
 IX_NOTIFICATION_DATECHANGED DATECHANGED      
 IX_NOTIFICATION_RECORDIDSETREGISTERID RECORDIDSETREGISTERID      
 IX_NOTIFICATION_RECORDTYPEID RECORDTYPEID      
 PK_NOTIFICATION ID  
 UC_NOTIFICATION_NAME NAME    

Trigger Name Description
 TR_NOTIFICATION_AUDIT_UPDATE
 TR_NOTIFICATION_AUDIT_DELETE

Referenced by Field
 WEALTHPOINTDATAREFRESHNOTIFICATION NOTIFICATIONID

Entity-Relationship diagram of this table