CONSTITUENTRECOGNITIONPROCESS
                                        Contains information pertaining to the Constituent Recognition Process.  
                                        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 = '' | 
                                                    The description of the parameter set. | 
                                                
                                                
                                                    | 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. | 
                                                
                                                
                                                    | INITIALSTATUSCODE | 
                                                    tinyint | 
                                                    
                                                     | 
                                                    Default = 0 | 
                                                    Initial status of the constituent recognition: 0 - Active, 2 - Pending | 
                                                
                                                
                                                    | INITIALSTATUS | 
                                                    nvarchar(7) (Computed) | 
                                                    yes | 
                                                    CASE [INITIALSTATUSCODE] WHEN 0 THEN N'Active' WHEN 2 THEN N'Pending' END | 
                                                    Provides a translation for the 'INITIALSTATUSCODE' field. | 
                                                
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | 
                                                    Field Type | 
                                                    Null | 
                                                    Notes | 
                                                    Description | 
                                                
                                            
                                            
                                                
                                                    | IDSETREGISTERID | 
                                                    uniqueidentifier | 
                                                    yes | 
                                                    IDSETREGISTER.ID
                                                     | 
                                                    A foreign key to the ID set used to filter the records included in the constituent recognition process. | 
                                                
                                                
                                                    | ADDEDBYID | 
                                                    uniqueidentifier | 
                                                    
                                                     | 
                                                    CHANGEAGENT.ID
                                                     | 
                                                    FK to CHANGEAGENT. | 
                                                
                                                
                                                    | CHANGEDBYID | 
                                                    uniqueidentifier | 
                                                    
                                                     | 
                                                    CHANGEAGENT.ID
                                                     | 
                                                    FK to CHANGEAGENT. | 
                                                
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | 
                                                    Fields | 
                                                    Unique | 
                                                    Primary | 
                                                    Clustered | 
                                                
                                            
                                            
                                                
                                                    | IX_CONSTITUENTRECOGNITIONPROCESS_DATEADDED | 
                                                    DATEADDED | 
                                                    
                                                     | 
                                                    
                                                     | 
                                                    yes | 
                                                
                                                
                                                    | IX_CONSTITUENTRECOGNITIONPROCESS_DATECHANGED | 
                                                    DATECHANGED | 
                                                    
                                                     | 
                                                    
                                                     | 
                                                    
                                                     | 
                                                
                                                
                                                    | PK_CONSTITUENTRECOGNITIONPROCESS | 
                                                    ID | 
                                                    yes | 
                                                    yes | 
                                                    
                                                     | 
                                                
                                                
                                                    | UC_CONSTITUENTRECOGNITIONPROCESS_NAME | 
                                                    NAME | 
                                                    yes | 
                                                    
                                                     | 
                                                    
                                                     | 
                                                
                                            
                                        
                                        Triggers
                                        
                                        Referenced by