Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NARRATIVE nvarchar(1000)   Default = ''
 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.
 NAME nvarchar(100)   Default = ''
 STARTDATE datetime The date of the stewardship plan.
 MANAGERSTARTDATE date
 MANAGERENDDATE date

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 MANAGERID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID FK to CONSTITUENT
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this stewardship plan.
 PLANTYPECODEID uniqueidentifier STEWARDSHIPPLANTYPECODE.ID The plan type for this stewardship plan.
 PLANSUBTYPECODEID uniqueidentifier STEWARDSHIPPLANSUBTYPECODE.ID The plan subtype for this stewardship plan.

Index Name Field(s) Unique Primary Clustered
 IX_STEWARDSHIPPLAN_BASECURRENCYID BASECURRENCYID      
 IX_STEWARDSHIPPLAN_DATEADDED DATEADDED    
 IX_STEWARDSHIPPLAN_DATECHANGED DATECHANGED      
 IX_STEWARDSHIPPLAN_MANAGERID MANAGERID      
 PK_STEWARDSHIPPLAN ID  
 UIX_STEWARDSHIPPLAN_CONSTITUENTID_NAME CONSTITUENTID, NAME    

Trigger Name Description
 TR_STEWARDSHIPPLAN_AUDIT_UPDATE
 TR_STEWARDSHIPPLAN_AUDIT_DELETE
 TR_STEWARDSHIPPLAN_INSERT_BASECURRENCYID

Referenced by Field
 STEWARDSHIPATTACHMENT PLANID
 STEWARDSHIPMEDIALINK PLANID
 STEWARDSHIPNOTE PLANID
 STEWARDSHIPPLANMANAGERHISTORY STEWARDSHIPPLANID
 STEWARDSHIPPLANSITE STEWARDSHIPPLANID
 STEWARDSHIPPLANSTEP PLANID
 STEWARDSHIPPLANSTEWARD PLANID

Entity-Relationship diagram of this table