Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 SEQUENCE int   Default = 0
 STATUSCODE tinyint   Default = 0 0=Pending, 1=Complete, 2=Failed
 STATUS nvarchar(8) (Computed) CASE [STATUSCODE] WHEN 0 THEN N'Pending' WHEN 1 THEN N'Complete' WHEN 2 THEN N'Failed' END Provides a translation for the 'STATUSCODE' field.
 DUEDATE datetime  
 DATECOMPLETE datetime
 COMMENTS nvarchar(4000)   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.

Foreign Key Field Type Null Notes Description
 SCREENPLANID uniqueidentifier   VOLUNTEERSCREENPLAN.ID FK to VOLUNTEERSCREENPLAN
 STEPCODEID uniqueidentifier   SCREENPLANSTEPCODE.ID FK to SCREENPLANSTEPCODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_VOLUNTEERSCREENPLANSTEP_DATEADDED DATEADDED    
 IX_VOLUNTEERSCREENPLANSTEP_DATECHANGED DATECHANGED      
 PK_VOLUNTEERSCREENPLANSTEP ID  
 UIX_VOLUNTEERSCREENPLANSTEP_SCREENPLANID_STEPCODEID SCREENPLANID, STEPCODEID    

Trigger Name Description
 TR_VOLUNTEERSCREENPLANSTEP_AUDIT_UPDATE
 TR_VOLUNTEERSCREENPLANSTEP_AUDIT_DELETE

Entity-Relationship diagram of this table