Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(200)   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.
 EXCEPTIONBATCHNUMBERCODE tinyint   Default = 0 Indicator of how to handle exception batch numbers.
 INCLUDEEXCEPTIONPREFIX bit   Default = 0 Whether or not to include a prefix.
 EXCEPTIONPREFIX nvarchar(8)   Default = '' The prefix for the exception batch.

Foreign Key Field Type Null Notes Description
 BATCHTYPECATALOGID uniqueidentifier BATCHTYPECATALOG.ID FK to BATCHTYPECATALOG
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BATCHNUMBERINGSCHEMEID uniqueidentifier BATCHNUMBERINGSCHEME.ID FK to BATCHNUMBERINGSCHEME

Index Name Field(s) Unique Primary Clustered
 IX_BATCHWORKFLOW_DATEADDED DATEADDED    
 IX_BATCHWORKFLOW_DATECHANGED DATECHANGED      
 PK_BATCHWORKFLOW ID  
 UC_BATCHWORKFLOW_NAME NAME    

Trigger Name Description
 TR_BATCHWORKFLOW_AUDIT_UPDATE
 TR_BATCHWORKFLOW_AUDIT_DELETE

Referenced by Field
 BATCHTEMPLATE BATCHWORKFLOWID
 BATCHWORKFLOWSTATE BATCHWORKFLOWID
 BATCHWORKFLOWTASK BATCHWORKFLOWID

Entity-Relationship diagram of this table