CONSTITUENTJOBINFO

Job information for a constituent.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
JOBTITLE nvarchar(100) Default = '' For individuals, stores a job title (Note this field is obsolete. Please use RELATIONSHIPJOBINFO.JOBTITLE)
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier CONSTITUENT.LOCALID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
INDUSTRYCODEID uniqueidentifier yes INDUSTRYCODE.LOCALID For individuals, stores the industry

Indexes

Index Name Fields Unique Primary Clustered
IX_CONSTITUENTJOBINFO_DATEADDED DATEADDED yes
IX_CONSTITUENTJOBINFO_DATECHANGED DATECHANGED
PK_CONSTITUENTJOBINFO ID yes yes

Triggers

Trigger Name Description
TR_CONSTITUENTJOBINFO_AUDIT_UPDATE
TR_CONSTITUENTJOBINFO_AUDIT_DELETE