Skip to content

dbo.ethWIPJobHistoryContacts ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1WIPJobHistoryIDintnoForeign key to the parent ethWIPJobHistory record (WIP update) this contact entry belongs to.
2jobIduniqueidentifiernoPrime Ecosystem job (primeJobs.id) this contact entry relates to.
3typenvarchar(50)noCategory of contact for this WIP update (e.g. 'Email' recipient vs 'ClientNote' recipient); used to group and replace contact sets for the same history record and type.
4contactIduniqueidentifieryesPrime Ecosystem contact identifier this row represents.
5emailnvarchar(200)yesEmail address of the contact used to send/queue the WIP update email or note.
6UpdatedAtdatetimenoDate and time this contact entry was last modified.
7IDintnoidentityIdentity primary key of the WIP job history contact record.
8EmailSentAtdatetimeyesDate and time the WIP update email was sent to this contact; null if not yet sent.
9EmailCancelledAtdatetimeyesDate and time the queued email to this contact was cancelled instead of being sent.
10EmailQueueFordatetimeyesDate and time at which the WIP update email to this contact becomes eligible to be sent.

Relationships (inferred) ​

FromToConfidence
dbo.ethWIPJobHistoryContacts.contactIddbo.primeContacts.idhigh
dbo.ethWIPJobHistoryContacts.WIPJobHistoryIDdbo.ethWIPJobHistory.IDhigh

Referenced by ​

Procedures: dbo.spEthWIPGetJobHistoryContactIds, dbo.spEthWIPGetJobHistoryEmails, dbo.spEthWIPJobClientNoteQueue, dbo.spEthWIPJobEmailGet, dbo.spEthWIPJobEmailMarkSent, dbo.spEthWIPJobEmailMarkSentByWIPID, dbo.spEthWIPJobEmailQueue, dbo.spEthWIPJobEmailQueueAggregated, dbo.spEthWIPUpsertJobHistoryContacts