SPONSORSHIPLOCATIONCLOSEPROCESS (4.0SP14)

Sponsorship Location Close process parameters.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SPONSORSHIPREASONID

uniqueidentifier

true

The reason for marking the location closed.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(515)

false

''

The name of the parameter set.

PROGRAMMAPPINGS

xml

true

Mappings by program to control the transfers.

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.

CREATEOUTPUTIDSET

bit

false

0

Designates whether or not an ID set should be created as a result of the mark location closed process.

OUTPUTIDSETTYPECODE

tinyint

false

0

0=Transferred source sponsorships, 1=Transferred target sponsorships

OUTPUTIDSETTYPE

nvarchar(31) (Computed)

true

Provides a translation for the 'OUTPUTIDSETTYPECODE' field.

OUTPUTIDSETNAME

nvarchar(100)

false

''

The name of the output ID set to be created by the mark location closed process.

OVERWRITEOUTPUTIDSET

bit

false

0

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

COMMENT

nvarchar(255)

false

''

Location closing notes

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATEADDED

DATEADDED

False

False

True

IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATECHANGED

DATECHANGED

False

False

False

IX_SPONSORSHIPLOCATIONCLOSEPROCESS_SPONSORSHIPREASONID

SPONSORSHIPREASONID

False

False

False

PK_SPONSORSHIPLOCATIONCLOSEPROCESS

ID

True

True

False

UC_SPONSORSHIPLOCATIONCLOSEPROCESS_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_SPONSORSHIPLOCATIONCLOSEPROCESS_AUDIT_UPDATE

TR_SPONSORSHIPLOCATIONCLOSEPROCESS_AUDIT_DELETE

Referenced by
Referenced by Field

SPONSORSHIPLOCATIONCLOSEPROCESSSTATUS

PARAMETERSETID