Field |
Field Type |
Null |
Notes |
Description |
STARTDATE |
datetime |
 |
|
Date that the relationship was established or became effective |
ENDDATE |
datetime |
 |
|
Date that the relationship was dissolved or ceased to be effective |
ISSPOUSE |
bit |
|
Default = 0 |
Designates the relationship as a spouse record |
ISPRIMARYBUSINESS |
bit |
|
Default = 0 |
Designates the relationship as a primary business record |
ISCONTACT |
bit |
|
Default = 0 |
Designates the relationship as a contact record |
POSITION |
nvarchar(100) |
|
Default = '' |
Store the position value for records marked as contacts |
ISMATCHINGGIFTRELATIONSHIP |
bit |
|
Default = 0 |
The organization in the relationship will match the individual's gifts. |
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. |
ISPRIMARYCONTACT |
bit |
|
Default = 0 |
Indicates whether the contact is a primary contact |
COMMENTS |
nvarchar(max) |
|
Default = '' |
|
ISEMERGENCYCONTACT |
bit |
|
Default = 0 |
Indicates this relation is an emergency contact. |
RECEIVESREPORTCARD |
bit |
|
Default = 0 |
Indicates this relation receives report cards for the student. |
DESCRIPTION |
nvarchar(700) (Computed) |
 |
dbo.UFN_RELATIONSHIP_DESCRIPTION(ID) |
Provides a translation field for the relationship record |
Index Name |
Field(s) |
Unique |
Primary |
Clustered |
IX_RELATIONSHIP_DATEADDED |
DATEADDED |
|
|
 |
IX_RELATIONSHIP_DATECHANGED |
DATECHANGED |
|
|
|
IX_RELATIONSHIP_RECIPROCALCONSTITUENTID |
RECIPROCALCONSTITUENTID |
|
|
|
IX_RELATIONSHIP_RELATIONSHIPCONSTITUENTID |
RELATIONSHIPCONSTITUENTID |
|
|
|
IX_RELATIONSHIP_RELATIONSHIPTYPECODEID |
RELATIONSHIPTYPECODEID |
|
|
|
PK_RELATIONSHIP |
ID |
 |
 |
|
UIX_RELATIONSHIP_RELATIONSHIPCONSTITUENTID_RECIPROCALCONSTITUENTID_RELATIONSHIPTYPECODEID_RECIPROCALTYPECODEID |
RELATIONSHIPCONSTITUENTID, RECIPROCALCONSTITUENTID, RELATIONSHIPTYPECODEID, RECIPROCALTYPECODEID |
 |
|
|