PDACCOUNTCODEMAPPINGSUBTYPE
                                        Account code subtype mapping.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | ADDITIONALSUBTYPE | int |  | Default = 0 | Additional subtype information (1 - Gift-In-Kind - dbo.GIFTINKINDSUBTYPECODE, 2-Credit Card-dbo.CREDITTYPECODE, 3-Property-dbo.PROPERTYSUBTYPECODE, 4-Other-dbo.OTHERPAYMENTMETHODCODE, 5-Pledge-dbo.PLEDGESUBTYPE, 6-Benefits-dbo.BENEFIT) | 
                                                
                                                    | SUBTYPEID | nvarchar(36) |  | Default = '' | FK (not enforced) to the parent table of the subtype | 
                                                
                                                    | 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 | 
                                            
                                            
                                                
                                                    | PDACCOUNTCODEMAPPINGID | uniqueidentifier | yes | PDACCOUNTCODEMAPPING.ID | The parent entry in the PDACCOUNTCODEMAPPING Table | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_PDACCOUNTCODEMAPPINGSUBTYPE_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_PDACCOUNTCODEMAPPINGSUBTYPE_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_PDACCOUNTCODEMAPPINGSUBTYPE | ID | yes | yes |  | 
                                            
                                        
                                        Triggers