BATCHCONSTITUENTALTERNATELOOKUPID (4.0SP17)

This table contains constituent batch alternate lookup IDs for constituents.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHCONSTITUENTID

uniqueidentifier

false

FK to BATCHCONSTITUENT

ALTERNATELOOKUPIDTYPECODEID

uniqueidentifier

false

FK to ALTERNATELOOKUPIDTYPECODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ALTERNATELOOKUPID

nvarchar(100)

false

''

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHCONSTITUENTALTERNATELOOKUPID_BATCHCONSTITUENTID

BATCHCONSTITUENTID

False

False

False

IX_BATCHCONSTITUENTALTERNATELOOKUPID_DATEADDED

DATEADDED

False

False

True

IX_BATCHCONSTITUENTALTERNATELOOKUPID_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHCONSTITUENTALTERNATELOOKUPID

ID

True

True

False

UIX_BATCHCONSTITUENTALTERNATELOOKUPID_ALTERNATELOOKUPIDTYPECODEID_BATCHCONSTITUENTID

ALTERNATELOOKUPIDTYPECODEID

BATCHCONSTITUENTID

True

False

False

Triggers
Trigger Name Description

TR_BATCHCONSTITUENTALTERNATELOOKUPID_AUDIT_UPDATE

TR_BATCHCONSTITUENTALTERNATELOOKUPID_AUDIT_DELETE