FAFADDRESSBOOKCUSTOMTYPE

Custom address types created by registrant

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(255) Default = '' Name of the custom address type
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
REGISTRANTID uniqueidentifier REGISTRANT.ID Participant who created this address type
EVENTID uniqueidentifier EVENT.ID ID for the event
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FAFADDRESSBOOKCUSTOMTYPE_DATEADDED DATEADDED yes
IX_FAFADDRESSBOOKCUSTOMTYPE_DATECHANGED DATECHANGED
IX_FAFADDRESSBOOKCUSTOMTYPE_REGISTRANTID_EVENTID REGISTRANTID, EVENTID
PK_FAFADDRESSBOOKCUSTOMTYPE ID yes yes

Triggers

Trigger Name Description
TR_FAFADDRESSBOOKCUSTOMTYPE_AUDIT_UPDATE
TR_FAFADDRESSBOOKCUSTOMTYPE_AUDIT_DELETE

Referenced by

Referenced by Field
FAFADDRESSBOOKCATEGORY FAFADDRESSBOOKCUSTOMTYPEID