Skip to content

dbo.primeNotifications ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.primeNotifications.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IduniqueidentifiernoPrimary key / unique identifier for this record
2JobIduniqueidentifiernoForeign key to primeJobs
3NotificationChannelnvarchar(50)noChannel the notification was sent through (e.g. Email, SMS)
4NotificationTypenvarchar(100)noType/category of notification
5NotificationTemplateIduniqueidentifieryesForeign key to primeNotificationTemplates
6NotificationTemplatenvarchar(255)yesName of the notification template
7EmailFromnvarchar(255)yesSender email address
8EmailFromNamenvarchar(255)yesDisplay name of the email sender
9EmailTonvarchar(MAX)yesRecipient email address
10EmailToStringnvarchar(500)yesRecipient email address(es) as a display string
11EmailCcnvarchar(MAX)yesCC email address(es)
12EmailBccnvarchar(MAX)yesBCC email address(es)
13EmailSubjectnvarchar(1000)yesSubject line of the email
14EmailBodynvarchar(MAX)yesBody content of the email
15Attachmentsnvarchar(MAX)yesList/count of attachments associated with this record
16NoteTextnvarchar(MAX)yesFree-text content of the note
17NotePublicbityesFlag indicating whether the note is visible to the client/customer
18CreatedAtdatetime2(0)noTimestamp the record was created
19CreatedBynvarchar(255)yesUser/system that created the record
20UpdatedAtdatetime2(0)noTimestamp the record was last updated
21UpdatedBynvarchar(255)yesUser/system that last updated the record

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK_primeNotificationsCLUSTEREDyesyesId
IX_primeNotifications_JobIdNONCLUSTEREDJobIdEmailFromName, EmailSubject, EmailToString, NotificationChannel, NotificationTemplate, NotificationType

Referenced by ​

Procedures: dbo.spPrimeGetJobNotifications, dbo.spPrimeUpsertNotification