| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(515) | Default = '' | The name of the parameter set. | |
PROGRAMMAPPINGS |
xml | ![]() |
Mappings by program to control the transfers. | |
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) | ![]() |
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 location closed process. | |
OUTPUTIDSETTYPECODE |
tinyint | Default = 0 | 0=Transferred source sponsorships, 1=Transferred target sponsorships | |
OUTPUTIDSETTYPE |
nvarchar(31) (Computed) | ![]() |
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 location closed process. | |
OVERWRITEOUTPUTIDSET |
bit | Default = 0 | Designates whether or not to overwrite the output ID set if one with the same name already exists. | |
COMMENT |
nvarchar(255) | Default = '' | Location closing notes |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | SPONSORSHIPLOCATION.ID | Primary Key. | |
SPONSORSHIPREASONID |
uniqueidentifier | ![]() |
SPONSORSHIPREASON.ID | The reason for marking the location closed. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATEADDED |
DATEADDED | ![]() |
||
IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATECHANGED |
DATECHANGED | |||
IX_SPONSORSHIPLOCATIONCLOSEPROCESS_SPONSORSHIPREASONID |
SPONSORSHIPREASONID | |||
PK_SPONSORSHIPLOCATIONCLOSEPROCESS |
ID | ![]() |
![]() |
|
UC_SPONSORSHIPLOCATIONCLOSEPROCESS_NAME |
NAME | ![]() |
| Trigger Name | Description |
|---|---|
TR_SPONSORSHIPLOCATIONCLOSEPROCESS_AUDIT_UPDATE |
|
TR_SPONSORSHIPLOCATIONCLOSEPROCESS_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
SPONSORSHIPLOCATIONCLOSEPROCESSSTATUS |
PARAMETERSETID |

ID
NAME
TSLONG
ID
IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATEADDED
IX_SPONSORSHIPLOCATIONCLOSEPROCESS_DATECHANGED