ADDSTEWARDSHIPPLANSTEPSPROCESS

Add stewardship plan steps 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.
DESCRIPTION nvarchar(255) Default = '' Details describing this parameter set
PLANSTEPS xml yes Contains the steps to be associated with the plan.
STEWARDS xml yes Contains the stewards to be associated with the plan.
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
IDSETREGISTERID uniqueidentifier yes IDSETREGISTER.ID Selection of plans to have steps added.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_ADDSTEWARDSHIPPLANSTEPSPROCESS_DATEADDED DATEADDED yes
IX_ADDSTEWARDSHIPPLANSTEPSPROCESS_DATECHANGED DATECHANGED
IX_ADDSTEWARDSHIPPLANSTEPSPROCESS_IDSETREGISTERID IDSETREGISTERID
PK_ADDSTEWARDSHIPPLANSTEPSPROCESS ID yes yes
UC_ADDSTEWARDSHIPPLANSTEPSPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_ADDSTEWARDSHIPPLANSTEPSPROCESS_AUDIT_UPDATE
TR_ADDSTEWARDSHIPPLANSTEPSPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
ADDSTEWARDSHIPPLANSTEPSPROCESSSTATUS PARAMETERSETID