RESERVATIONRATESCALE
                                        The flat rate scale used for flat rate pricing on a reservation.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | INCLUDEALLPROGRAMS | bit |  | Default = 1 | Indicates whether the rate scale includes all programs. | 
                                                
                                                    | 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. | 
                                                
                                                    | INCLUDEALLFEES | bit |  | Default = 1 | Indicates whether the rate scale includes all fees. | 
                                                
                                                    | INCLUDEALLRESOURCES | bit |  | Default = 1 | Indicates whether the rate scale includes all supplies/equipment resources. | 
                                                
                                                    | INCLUDEALLSTAFFRESOURCES | bit |  | Default = 1 | Indicates whether the rate scale includes all staffing resources. | 
                                                
                                                    | USEPERTICKETAFTERMAX | bit |  | Default = 0 | Indicates whether the rate scale should revert to per-ticket pricing after the maximum is reached. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier |  | RESERVATION.ID | Primary Key. | 
                                                
                                                    | RATESCALEID | uniqueidentifier | yes | RATESCALE.ID | The flat rate scale used for flat rate pricing. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_RESERVATIONRATESCALE_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_RESERVATIONRATESCALE_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_RESERVATIONRATESCALE | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by