STEWARDSHIPPACKAGEPROCESSHISTORY (4.0SP20)

Contains history information pertaining to stewardship packages.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BUSINESSPROCESSSTATUSID

uniqueidentifier

true

Foreign key to the corresponding business process status record.

DESIGNATIONLEVELID

uniqueidentifier

true

Foreign key to the purpose for which this stewardship package was run.

BUSINESSPROCESSVIEWID

uniqueidentifier

true

A foreign key to the view to used as output format for the stewardship package run.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

BUSINESSPROCESSSTATUSGUID

nvarchar(36)

false

''

Value that will identify the corresponding business process status record once it is created.

PARAMETERSETID

nvarchar(36)

false

''

Value of the parameter set ID, stored to allow filtering before the business process status record exists.

NAME

nvarchar(100)

false

''

The name of the parameter set at the time the stewardship package was sent.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DATEADDED

DATEADDED

False

False

True

IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DATECHANGED

DATECHANGED

False

False

False

IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DESIGNATIONLEVELID

DESIGNATIONLEVELID

False

False

False

PK_STEWARDSHIPPACKAGEPROCESSHISTORY

ID

True

True

False

UC_STEWARDSHIPPACKAGEPROCESSHISTORY_BUSINESSPROCESSSTATUSGUID

BUSINESSPROCESSSTATUSGUID

True

False

False

Triggers
Trigger Name Description

TR_STEWARDSHIPPACKAGEPROCESSHISTORY_AUDIT_UPDATE

TR_STEWARDSHIPPACKAGEPROCESSHISTORY_AUDIT_DELETE