BATCHEVENT (4.0SP17)

Stores batch event information.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHID

uniqueidentifier

false

FK to BATCH

EVENTLOCATIONID

uniqueidentifier

true

FK to EVENTLOCATION

EVENTLOCATIONCONTACTID

uniqueidentifier

true

FK to CONSTITUENT

APPEALID

uniqueidentifier

true

FK to APPEAL

EVENTCATEGORYCODEID

uniqueidentifier

true

FK to EVENTCATEGORYCODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

EVENTLOCATIONROOMID

uniqueidentifier

true

FK to EVENTLOCATIONROOM

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this revenue.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

NAME

nvarchar(100)

false

''

DESCRIPTION

nvarchar(255)

false

''

STARTDATE

date

false

STARTTIME

UDT_HOURMINUTE

false

''

ENDDATE

date

true

ENDTIME

UDT_HOURMINUTE

false

''

CAPACITY

int

false

0

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.

CUSTOMID

nvarchar(100)

false

''

CUSTOMIDENTIFIER

nvarchar(100)

false

''

User-definable custom identifier.

SEQUENCEID

int

false

Identity column used to increment the default lookupid.

LOOKUPID

nvarchar(100) (Computed)

true

Unique identifer that supports user defined values as well as system generated values.

HIDEFROMCALENDAR

bit

false

0

Determines if this event should be hidden from the event calendar.

DESIGNATIONSONFEES

bit

false

0

Determines if this event allows designations on fees.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHEVENT_DATEADDED

DATEADDED

False

False

True

IX_BATCHEVENT_DATECHANGED

DATECHANGED

False

False

False

IX_BATCHEVENT_EVENTLOCATIONCONTACTID

EVENTLOCATIONCONTACTID

False

False

False

PK_BATCHEVENT

ID

True

True

False

UC_BATCHEVENT_LOOKUPID

LOOKUPID

True

False

False

Triggers
Trigger Name Description

TR_BATCHEVENT_INSERTUPDATE_CURRENCY

TR_BATCHEVENT_AUDIT_UPDATE

TR_BATCHEVENT_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHEVENTBATCHSYSTEMMESSAGES

BATCHEVENTID

BATCHEVENTBATCHUSERMESSAGE

ID

BATCHEVENTCOORDINATOR

BATCHEVENTID

BATCHEVENTDESIGNATION

BATCHEVENTID

BATCHEVENTEXPENSE

BATCHEVENTID

BATCHEVENTPRICE

BATCHEVENTID

BATCHEVENTSITE

BATCHEVENTID

BATCHEVENTTASK

BATCHEVENTID