BATCHEVENTEXPENSE (4.0SP20)

Stores batch event expense information.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHEVENTID

uniqueidentifier

false

FK to BATCHEVENT

EVENTEXPENSETYPECODEID

uniqueidentifier

false

FK to EVENTEXPENSETYPECODE

VENDORID

uniqueidentifier

true

FK to CONSTITUENT

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

BUDGETEDAMOUNT

money

false

0

ACTUALAMOUNT

money

false

0

DATEDUE

datetime

true

AMOUNTPAID

money

false

0

DATEPAID

datetime

true

COMMENT

nvarchar(250)

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_BATCHEVENTEXPENSE_DATEADDED

DATEADDED

False

False

True

IX_BATCHEVENTEXPENSE_DATECHANGED

DATECHANGED

False

False

False

IX_BATCHEVENTEXPENSE_VENDORID

VENDORID

False

False

False

PK_BATCHEVENTEXPENSE

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHEVENTEXPENSE_AUDIT_UPDATE

TR_BATCHEVENTEXPENSE_AUDIT_DELETE