SPONSORSHIPOPPORTUNITYTRANSFERPROCESS

Sponsorship opportunity transfer process parameters.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name of the parameter set
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
CREATEOUTPUTIDSET bit Default = 0 Designates whether or not an ID set should be created as a result of the mark opportunity ineligible/closed process.
OUTPUTIDSETTYPECODE tinyint Default = 0 0=Transferred source sponsorships, 1=Transferred target sponsorships
OUTPUTIDSETTYPE nvarchar(31) (Computed) yes CASE [OUTPUTIDSETTYPECODE] WHEN 0 THEN N'Transferred source sponsorships' WHEN 1 THEN N'Transferred target sponsorships' END Provides a translation for the 'OUTPUTIDSETTYPECODE' field.
OUTPUTIDSETNAME nvarchar(100) Default = '' The name of the output ID set to be created by the mark opportunity ineligible/closed process.
OVERWRITEOUTPUTIDSET bit Default = 0 Designates whether or not to overwrite the output ID set if one with the same name already exists.

Foreign Keys

Foreign Key Field Type Null Notes Description
NEWSPONSORSHIPOPPORTUNITYID uniqueidentifier yes SPONSORSHIPOPPORTUNITY.ID The new sponsorship opportunity.
SPONSORSHIPREASONID uniqueidentifier yes SPONSORSHIPREASON.ID FK to SPONSORSHIPREASON
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_DATEADDED DATEADDED yes
IX_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_DATECHANGED DATECHANGED
IX_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_NEWSPONSORSHIPOPPORTUNITYID NEWSPONSORSHIPOPPORTUNITYID
IX_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_SPONSORSHIPREASONID SPONSORSHIPREASONID
PK_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS ID yes yes

Triggers

Trigger Name Description
TR_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_AUDIT_UPDATE
TR_SPONSORSHIPOPPORTUNITYTRANSFERPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
SPONSORSHIPOPPORTUNITYTRANSFERPROCESSSTATUS PARAMETERSETID