BATCHBBNCDONATION
                                        Stores Blackbaud Internet Solutions donation transaction batch information.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | BBNCTRANSACTIONGUID | uniqueidentifier | yes |  |  | 
                                                
                                                    | BBNCTRANID | int |  | Default = 0 |  | 
                                                
                                                    | ORIGINPAGE | nvarchar(1000) |  | Default = '' |  | 
                                                
                                                    | ORIGINPAGEID | int |  | Default = 0 |  | 
                                                
                                                    | ADDEDBY | nvarchar(255) |  | Default = '' |  | 
                                                
                                                    | LOGGEDINUSER | bit |  | Default = 0 | Indicates whether the linked constituent was logged in to Blackbaud Internet Solutions during the transaction. | 
                                                
                                                    | DONORINFORMATION | xml |  |  |  | 
                                                
                                                    | DONORADDRESSINFORMATION | xml |  |  |  | 
                                                
                                                    | DONORADDRESSINFORMATIONALLFIELDS | xml | yes |  |  | 
                                                
                                                    | PHONETYPES | xml | yes |  |  | 
                                                
                                                    | GIFTINFORMATION | xml |  |  |  | 
                                                
                                                    | GIFTATTRIBUTEINFORMATION | xml |  |  |  | 
                                                
                                                    | MGINFORMATIONFROMMFO | bit |  | Default = 0 | Indicates if Blackbaud Internet Solutions received the information from MatchFinder Online. | 
                                                
                                                    | UPDATEMGINFORMATIONFROMMFO | bit |  | Default = 0 |  | 
                                                
                                                    | MGINFORMATION | xml |  |  |  | 
                                                
                                                    | DONORADDRESSINFORMATIONDONOTHING | bit |  | Default = 0 |  | 
                                                
                                                    | DONORADDRESSINFORMATIONCREATENEW | bit |  | Default = 0 |  | 
                                                
                                                    | DONORADDRESSINFORMATIONUPDATE | bit |  | Default = 0 |  | 
                                                
                                                    | DONORADDRESSINFORMATIONMAKEPRIMARY | bit |  | Default = 0 |  | 
                                                
                                                    | DONOTRECEIPT | bit |  | Default = 0 |  | 
                                                
                                                    | DONOTACKNOWLEDGE | bit |  | Default = 0 |  | 
                                                
                                                    | 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. | 
                                                
                                                    | DONORIDAUTOMATCH | nvarchar(255) |  | Default = '' |  | 
                                                
                                                    | CORPORATEDONORIDAUTOMATCH | nvarchar(255) |  | Default = '' |  | 
                                                
                                                    | MGCONSTITUENTIDAUTOMATCH | nvarchar(255) |  | Default = '' |  | 
                                                
                                                    | ISTEAMFUNDRAISINGOFFLINEGIFT | bit |  | Default = 0 |  | 
                                                
                                                    | BBNCID | int |  | Default = 0 |  | 
                                                
                                                    | DONORINFORMATIONALLFIELDS | xml | yes |  |  | 
                                                
                                                    | TRIBUTENAME | nvarchar(500) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEDESCRIPTION | nvarchar(500) |  | Default = '' |  | 
                                                
                                                    | ADDTRIBUTEACKNOWLEDGEE | bit |  | Default = 0 |  | 
                                                
                                                    | UPDATETRIBUTEACKNOWLEDGEEADDRESS | bit |  | Default = 0 |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEENAME | nvarchar(250) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEEEMAIL | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEESTREETADDRESS | nvarchar(300) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEECITY | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEESTATE | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEEPOSTCODE | nvarchar(12) |  | Default = '' |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEECOUNTRY | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | APPLYTRIBUTETODONATION | bit |  | Default = 0 |  | 
                                                
                                                    | TRIBUTEACKNOWLEDGEEPHONE | nvarchar(100) |  | Default = '' |  | 
                                                
                                                    | REMOVESPOUSE | bit |  | Default = 0 |  | 
                                                
                                                    | SPOUSEINFORMATION | xml | yes |  |  | 
                                                
                                                    | SAMESPOUSE | bit |  | Default = 1 | This name change is for the same spouse record | 
                                                
                                                    | SPOUSEOLDNAME | nvarchar(200) |  | Default = '' | Full name of this constituent's current spouse | 
                                            
                                        
                                        Foreign Keys
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_BATCHBBNCDONATION_BATCHID | BATCHID |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_CORPORATEDONORID | CORPORATEDONORID |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_BATCHBBNCDONATION_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_DONORID | DONORID |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_MGCONSTITUENTID | MGCONSTITUENTID |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_SPOUSELINKID | SPOUSELINKID |  |  |  | 
                                                
                                                    | IX_BATCHBBNCDONATION_TRIBUTEACKNOWLEDGEELINKID | TRIBUTEACKNOWLEDGEELINKID |  |  |  | 
                                                
                                                    | PK_BATCHBBNCDONATION | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by