GIFTFEESTRUCTURE (4.0SP17)

This table contains fee structures for gift fees

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from amount to organization amount.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this gift fee structure.

Fields
Field Field Type Null Notes Description

FROMAMOUNT

money

false

0.00

If this value is true the gift fees will be calculated and used.

FEE

decimal(6, 2)

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.

ORGANIZATIONFROMAMOUNT

money

false

0

From amount in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_GIFTFEESTRUCTURE_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_GIFTFEESTRUCTURE_DATEADDED

DATEADDED

False

False

True

IX_GIFTFEESTRUCTURE_DATECHANGED

DATECHANGED

False

False

False

IX_GIFTFEESTRUCTURE_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

PK_GIFTFEESTRUCTURE

ID

True

True

False

UIX_GIFTFEESTRUCTURE_FROMAMOUNT

FROMAMOUNT

True

False

False

Triggers
Trigger Name Description

TR_GIFTFEESTRUCTURE_AUDIT_UPDATE

TR_GIFTFEESTRUCTURE_AUDIT_DELETE

TR_GIFTFEESTRUCTURE_INSERTUPDATE_CURRENCY