DESIGNATIONLEVELGOAL (4.0SP20)

Stores goal information pertaining to a Fundraising Purpose.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

DESIGNATIONLEVELID

uniqueidentifier

false

The parent record for this goal.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

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

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this goal.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of the Designation Level Goal.

GOAL

money

false

0

The amount of the goal.

STARTDATE

datetime

false

The start date for this goal.

ENDDATE

datetime

false

The end date for this goal.

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.

ORGANIZATIONGOAL

money

false

0

Amount of the goal in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_DESIGNATIONLEVELGOAL_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_DESIGNATIONLEVELGOAL_DATEADDED

DATEADDED

False

False

True

IX_DESIGNATIONLEVELGOAL_DATECHANGED

DATECHANGED

False

False

False

IX_DESIGNATIONLEVELGOAL_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

PK_DESIGNATIONLEVELGOAL

ID

True

True

False

UIX_DESIGNATIONLEVELGOAL_NAME_DESIGNATIONLEVELID

NAME

DESIGNATIONLEVELID

True

False

False

Triggers
Trigger Name Description

TR_DESIGNATIONLEVELGOAL_DESIGNATIONGOAL_INSERT

TR_DESIGNATIONLEVELGOAL_DESIGNATIONGOAL_UPDATE

TR_DESIGNATIONLEVELGOAL_AUDIT_UPDATE

TR_DESIGNATIONLEVELGOAL_AUDIT_DELETE

Referenced by
Referenced by Field

DESIGNATIONGOAL

DESIGNATIONLEVELGOALID