STEWARDSHIPPACKAGEPROCESSHISTORY

Contains history information pertaining to stewardship packages.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
BUSINESSPROCESSSTATUSGUID nvarchar(36) Default = '' Value that will identify the corresponding business process status record once it is created.
PARAMETERSETID nvarchar(36) Default = '' Value of the parameter set ID, stored to allow filtering before the business process status record exists.
NAME nvarchar(100) Default = '' The name of the parameter set at the time the stewardship package was sent.
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
BUSINESSPROCESSSTATUSID uniqueidentifier yes BUSINESSPROCESSSTATUS.ID Foreign key to the corresponding business process status record.
DESIGNATIONLEVELID uniqueidentifier yes DESIGNATIONLEVEL.ID Foreign key to the purpose for which this stewardship package was run.
BUSINESSPROCESSVIEWID uniqueidentifier yes BUSINESSPROCESSVIEW.ID A foreign key to the view to used as output format for the stewardship package run.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DATEADDED DATEADDED yes
IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DATECHANGED DATECHANGED
IX_STEWARDSHIPPACKAGEPROCESSHISTORY_DESIGNATIONLEVELID DESIGNATIONLEVELID
PK_STEWARDSHIPPACKAGEPROCESSHISTORY ID yes yes
UC_STEWARDSHIPPACKAGEPROCESSHISTORY_BUSINESSPROCESSSTATUSGUID BUSINESSPROCESSSTATUSGUID yes

Triggers

Trigger Name Description
TR_STEWARDSHIPPACKAGEPROCESSHISTORY_AUDIT_UPDATE
TR_STEWARDSHIPPACKAGEPROCESSHISTORY_AUDIT_DELETE