CONSTITUENTRECOGNITIONBENEFIT
                                        Stores benefits for a constituent recognition.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | QUANTITY | int |  | Default = 0 | Number of benefits | 
                                                
                                                    | UNITVALUE | money |  | Default = 0 | Cost or percentage of the benefit | 
                                                
                                                    | DETAILS | nvarchar(255) |  | Default = '' | Comments | 
                                                
                                                    | SEQUENCE | int |  | Default = 0 |  | 
                                                
                                                    | 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. | 
                                                
                                                    | ORGANIZATIONUNITVALUE | money |  | Default = 0 | Unit value in organization currency. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | CONSTITUENTRECOGNITIONID | uniqueidentifier |  | CONSTITUENTRECOGNITION.ID | The constituent recognition for this benefit record. | 
                                                
                                                    | BENEFITID | uniqueidentifier |  | BENEFIT.ID | The benefit for this record. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | ORGANIZATIONEXCHANGERATEID | uniqueidentifier | yes | CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from unit value to organization unit value. | 
                                                
                                                    | BASECURRENCYID | uniqueidentifier | yes | CURRENCY.ID | The base currency associated with this constituent recognition benefit. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_BASECURRENCYID | BASECURRENCYID |  |  |  | 
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_BENEFITID | BENEFITID |  |  |  | 
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_CONSTITUENTRECOGNITIONID | CONSTITUENTRECOGNITIONID |  |  |  | 
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_CONSTITUENTRECOGNITIONBENEFIT_ORGANIZATIONEXCHANGERATEID | ORGANIZATIONEXCHANGERATEID |  |  |  | 
                                                
                                                    | PK_CONSTITUENTRECOGNITIONBENEFIT | ID | yes | yes |  | 
                                            
                                        
                                        Triggers