SALESORDERITEMMEMBERSHIPCARD
                                        Stores membership card data for sales order item members.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | NAMEONCARD | nvarchar(700) |  | Default = '' | The name to use on the card. | 
                                                
                                                    | EXPIRATIONDATE | datetime | yes |  | The expiration date of the membership card. | 
                                                
                                                    | 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. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | SALESORDERITEMMEMBERID | uniqueidentifier |  | SALESORDERITEMMEMBER.ID | FK to SALESORDERITEMMEMBER | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | MEMBERSHIPCARDID | uniqueidentifier | yes | MEMBERSHIPCARD.ID | Stores MEMBERSHIPCARDID for cards being renewed. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_SALESORDERITEMMEMBERSHIPCARD_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_SALESORDERITEMMEMBERSHIPCARD_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_SALESORDERITEMMEMBERSHIPCARD_MEMBERSHIPCARDID | MEMBERSHIPCARDID |  |  |  | 
                                                
                                                    | IX_SALESORDERITEMMEMBERSHIPCARD_SALESORDERITEMMEMBERID | SALESORDERITEMMEMBERID |  |  |  | 
                                                
                                                    | PK_SALESORDERITEMMEMBERSHIPCARD | ID | yes | yes |  | 
                                            
                                        
                                        Triggers