BATCHREVENUEAPPLICATIONPLEDGESPLIT (4.0SP20)

Stores split information about a new pledge added during the revenue batch process.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHREVENUEAPPLICATIONPLEDGEID

uniqueidentifier

false

FK to BATCHREVENUEAPPLICATIONPLEDGE

DESIGNATIONID

uniqueidentifier

false

FK to DESIGNATION

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

AMOUNT

money

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.

DECLINESGIFTAID

bit

false

0

Indicates whether Gift Aid is declined for this split.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHREVENUEAPPLICATIONPLEDGESPLIT_BATCHREVENUEAPPLICATIONPLEDGEID

BATCHREVENUEAPPLICATIONPLEDGEID

False

False

False

IX_BATCHREVENUEAPPLICATIONPLEDGESPLIT_DATEADDED

DATEADDED

False

False

True

IX_BATCHREVENUEAPPLICATIONPLEDGESPLIT_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHREVENUEAPPLICATIONPLEDGESPLIT

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHREVENUEAPPLICATIONPLEDGESPLIT_AUDIT_UPDATE

TR_BATCHREVENUEAPPLICATIONPLEDGESPLIT_AUDIT_DELETE