RELATIONSHIPCONFIGURATION (4.0SP20)

Stores configuration information for each relationship type.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

GENDERCODE

tinyint

false

0

Indicates the gender this relationship type applies to

GENDER

nvarchar(6) (Computed)

true

Provides a translation for the 'GENDERCODE' field.

APPLIESTOINDIVIDUALS

bit

false

0

Indicates this relationship type applies to individual constituents.

APPLIESTOORGANIZATIONS

bit

false

0

Indicates this relationship type applies to organization constituents.

APPLIESTOGROUPS

bit

false

0

Indicates this relationship type applies to group constituents.

RELATESTOINDIVIDUALS

bit

false

0

Indicates this relationship type relates to individual constituents.

RELATESTOORGANIZATIONS

bit

false

0

Indicates this relationship type relates to organization constituents.

RELATESTOGROUPS

bit

false

0

Indicates this relationship type relates to group constituents.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

ISPEERRELATIONSHIPTYPE

bit

false

0

Indicates this relationship type is used for peer relationships.

APPLIESTOSTUDENTS

bit

false

0

Indicates this relationship type applies to student constituents.

RELATESTOSTUDENTS

bit

false

0

Indicates this relationship type relates to student constituents.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RELATIONSHIPCONFIGURATION_DATEADDED

DATEADDED

False

False

True

IX_RELATIONSHIPCONFIGURATION_DATECHANGED

DATECHANGED

False

False

False

PK_RELATIONSHIPCONFIGURATION

ID

True

True

False

Triggers
Trigger Name Description

TR_RELATIONSHIPCONFIGURATION_AUDIT_UPDATE

TR_RELATIONSHIPCONFIGURATION_AUDIT_DELETE