MARRIAGERULE

Contains global marriage rules.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SETMARITALSTATUS bit Default = 0 Indicates whether or not to change the spouse's marital status.
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.
COPYPHONENUMBER bit Default = 1
COPYEMAILADDRESS bit Default = 1

Foreign Keys

Foreign Key Field Type Null Notes Description
MARITALSTATUSCODEID uniqueidentifier yes MARITALSTATUSCODE.LOCALID Change marital status of spouse to.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MARRIAGERULE_DATEADDED DATEADDED yes
IX_MARRIAGERULE_DATECHANGED DATECHANGED
PK_MARRIAGERULE ID yes yes

Triggers

Trigger Name Description
TR_MARRIAGERULE_AUDIT_UPDATE
TR_MARRIAGERULE_AUDIT_DELETE