SPONSORSHIPTRANSFERPROCESS (3.0)

Sponsorship transfer process parameters.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

IDSETREGISTERID

uniqueidentifier

true

Selection of sponsorships to be transfered.

SPONSORSHIPPROGRAMID

uniqueidentifier

true

FK to SPONSORSHIPPROGRAM

SPONSORSHIPLOCATIONID

uniqueidentifier

true

The location preference for this sponsorship.

SPROPPAGERANGEID

uniqueidentifier

true

Points to a custom Sponsorship Opportunity Age Range definition in the SPONSORSHIPOPPORTUNITYAGERANGE table, for child records only.

SPROPPPROJECTCATEGORYCODEID

uniqueidentifier

true

FK to SPROPPPROJECTCATEGORYCODE

SPONSORSHIPREASONID

uniqueidentifier

false

The reason for transfering the sponsorships.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of the parameter set.

DESCRIPTION

nvarchar(255)

false

''

Details describing this parameter set

GENDERCODE

tinyint

false

0

0=Greatest need, 1=Male, 2=Female

GENDER

nvarchar(13) (Computed)

true

Provides a translation for the 'GENDERCODE' field.

ISHIVPOSITIVECODE

tinyint

false

0

0=Greatest need, 1=Yes, 2=No

ISHIVPOSITIVE

nvarchar(13) (Computed)

true

Provides a translation for the 'ISHIVPOSITIVECODE' field.

HASCONDITIONCODE

tinyint

false

0

0=Greatest need, 1=Yes, 2=No

HASCONDITION

nvarchar(13) (Computed)

true

Provides a translation for the 'HASCONDITIONCODE' field.

ISORPHANEDCODE

tinyint

false

0

0=Greatest need, 1=Yes, 2=No

ISORPHANED

nvarchar(13) (Computed)

true

Provides a translation for the 'ISORPHANEDCODE' field.

SPONSORPREFERENCECODE

tinyint

false

0

0=Clear conflicting preferences, 1=Overwrite specified preferences, 2=Overwrite all preferences

SPONSORPREFERENCE

nvarchar(31) (Computed)

true

Provides a translation for the 'SPONSORPREFERENCECODE' field.

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.

MATCHINGRULECODE

tinyint

false

0

0=Greatest need, 1=Nearest location, then greatest need

MATCHINGRULE

nvarchar(36) (Computed)

true

Provides a translation for the 'MATCHINGRULECODE' field.

TRANSFERTYPECODE

tinyint

false

0

0=Full transfer, 1=Pending transfer

TRANSFERTYPE

nvarchar(16) (Computed)

true

Provides a translation for the 'TRANSFERTYPECODE' field.

CREATESOURCESPONSORSHIPSIDSET

bit

false

0

Designates whether or not an ID set of source sponsorships should be created as a result of the transfer process.

SOURCESELECTIONNAME

nvarchar(100)

false

''

The name of the output ID set of source sponsorships to be created by the transfer process.

OVERWRITESOURCESELECTION

bit

false

0

Designates whether or not to overwrite the output ID set if one with the same name already exists.

CREATETARGETSPONSORSHIPSIDSET

bit

false

0

Designates whether or not an ID set of source sponsorships should be created as a result of the transfer process.

TARGETSELECTIONNAME

nvarchar(100)

false

''

The name of the output ID set of source sponsorships to be created by the transfer process.

OVERWRITETARGETSELECTION

bit

false

0

Designates whether or not to overwrite the output ID set if one with the same name already exists.

CREATEUNSUCCESSFULSPONSORSHIPSIDSET

bit

false

0

Designates whether or not an ID set of source sponsorships should be created as a result of the transfer process.

UNSUCCESSFULSELECTIONNAME

nvarchar(100)

false

''

The name of the output ID set of source sponsorships to be created by the transfer process.

OVERWRITEUNSUCCESSFULSELECTION

bit

false

0

Designates whether or not to overwrite the output ID set if one with the same name already exists.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SPONSORSHIPTRANSFERPROCESS_DATEADDED

DATEADDED

False

False

True

IX_SPONSORSHIPTRANSFERPROCESS_DATECHANGED

DATECHANGED

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_IDSETREGISTERID

IDSETREGISTERID

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_SPONSORSHIPLOCATIONID

SPONSORSHIPLOCATIONID

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_SPONSORSHIPPROGRAMID

SPONSORSHIPPROGRAMID

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_SPONSORSHIPREASONID

SPONSORSHIPREASONID

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_SPROPPAGERANGEID

SPROPPAGERANGEID

False

False

False

IX_SPONSORSHIPTRANSFERPROCESS_SPROPPPROJECTCATEGORYCODEID

SPROPPPROJECTCATEGORYCODEID

False

False

False

PK_SPONSORSHIPTRANSFERPROCESS

ID

True

True

False

UC_SPONSORSHIPTRANSFERPROCESS_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_SPONSORSHIPTRANSFERPROCESS_AUDIT_UPDATE

TR_SPONSORSHIPTRANSFERPROCESS_AUDIT_DELETE

Referenced by
Referenced by Field

SPONSORSHIPTRANSFERPROCESSSTATUS

PARAMETERSETID