NAMINGOPPORTUNITY (4.0SP20)

Stores information for each naming opportunity.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

NAMINGOPPORTUNITYTYPECODEID

uniqueidentifier

true

The type of this naming opportunity.

CONTACTID

uniqueidentifier

true

The staff member who is overseeing the naming opportunity.

PURPOSEID

uniqueidentifier

false

The fundraising purpose that donations for this naming opoortunity will suport.

SITEID

uniqueidentifier

true

The site that owns this naming opportunity.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

FACILITYID

uniqueidentifier

true

The specific facility of this naming opportunity.

CAMPAIGNID

uniqueidentifier

true

The campaign to which this naming opportunity is tied.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

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

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this naming opportunity.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of this naming opportunity.

DESCRIPTION

nvarchar(250)

false

''

A short description of this naming opportunity.

QUANTITY

int

false

1

The total number of recognition opportunities that this naming opportunity supports.

MINIMUMAMOUNT

money

false

0

The minimum amount that must be donated in order to be recognized for this naming opportunity.

COMMENTS

nvarchar(max)

false

''

Free-form comments about this naming opportunity.

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.

ISACTIVE

bit

false

1

Indicates whether or not the record is active.

REMAINING

int (Computed)

true

The total number of remaining recognition opportunities for this naming opportunity.

SPECIALHANDLING

nvarchar(max)

false

''

Free-form special handling instructions for this naming opportunity.

ORGANIZATIONMINIMUMAMOUNT

money

false

0

Min amount in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_NAMINGOPPORTUNITY_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_NAMINGOPPORTUNITY_CONTACTID

CONTACTID

False

False

False

IX_NAMINGOPPORTUNITY_DATEADDED

DATEADDED

False

False

True

IX_NAMINGOPPORTUNITY_DATECHANGED

DATECHANGED

False

False

False

IX_NAMINGOPPORTUNITY_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_NAMINGOPPORTUNITY_PURPOSEID

PURPOSEID

False

False

False

PK_NAMINGOPPORTUNITY

ID

True

True

False

UIX_NAMINGOPPORTUNITY_SITEID_NAME

SITEID

NAME

True

False

False

Triggers
Trigger Name Description

TR_NAMINGOPPORTUNITY_INSERTUPDATE_CURRENCY

TR_NAMINGOPPORTUNITY_AUDIT_UPDATE

TR_NAMINGOPPORTUNITY_AUDIT_DELETE

Referenced by
Referenced by Field

NAMINGOPPORTUNITYATTACHMENT

NAMINGOPPORTUNITYID

NAMINGOPPORTUNITYMEDIALINK

NAMINGOPPORTUNITYID

NAMINGOPPORTUNITYMGOPPORTUNITY

NAMINGOPPORTUNITYID

NAMINGOPPORTUNITYNOTE

NAMINGOPPORTUNITYID

NAMINGOPPORTUNITYRECOGNITION

NAMINGOPPORTUNITYID