NOTIFICATION
Contains information about a Notification record
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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 |
yes |
|
|
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
APPLYTO |
nvarchar(14) (Computed) |
yes |
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 Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
RECORDTYPEID |
uniqueidentifier |
|
RECORDTYPE.ID
|
FK to RECORDTYPE |
RECORDIDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
FK to IDSETREGISTER |
APPUSERIDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
FK to IDSETREGISTER |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_NOTIFICATION_APPUSERIDSETREGISTERID |
APPUSERIDSETREGISTERID |
|
|
|
IX_NOTIFICATION_DATEADDED |
DATEADDED |
|
|
yes |
IX_NOTIFICATION_DATECHANGED |
DATECHANGED |
|
|
|
IX_NOTIFICATION_RECORDIDSETREGISTERID |
RECORDIDSETREGISTERID |
|
|
|
IX_NOTIFICATION_RECORDTYPEID |
RECORDTYPEID |
|
|
|
PK_NOTIFICATION |
ID |
yes |
yes |
|
UC_NOTIFICATION_NAME |
NAME |
yes |
|
|
Triggers
Referenced by