Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 APPEALIDFIELD nvarchar(255)   Default = '' The field name from the appeal query view that maps to the appeal ID in the source system.
 DESCRIPTIONFIELD nvarchar(255)   Default = '' The field name from the appeal query view that maps to the appeal description in the source system.
 INACTIVEFIELD nvarchar(255)   Default = '' The field name from the appeal query view that maps to the appeal active/inactive status in the source system.
 STARTDATEFIELD nvarchar(255)   Default = '' The field name from the appeal query view that maps to the appeal start date in the source system.
 ENDDATEFIELD nvarchar(255)   Default = '' The field name from the appeal query view that maps to the appeal end date in the source system.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   MKTRECORDSOURCE.ID Primary Key.
 QUERYVIEWCATALOGID uniqueidentifier   QUERYVIEWCATALOG.ID The query view that contains appeal record source information.
 SEARCHLISTCATALOGID uniqueidentifier SEARCHLISTCATALOG.ID The appeal search list catalog ID.
 TRANSLATIONFUNCTIONCATALOGID uniqueidentifier TRANSLATIONFUNCTIONCATALOG.ID The appeal search list translation function ID.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_MKTAPPEALRECORDSOURCE_DATEADDED DATEADDED    
 IX_MKTAPPEALRECORDSOURCE_DATECHANGED DATECHANGED      
 PK_MKTAPPEALRECORDSOURCE ID  
 UC_MKTAPPEALRECORDSOURCE_SEARCHLISTCATALOGID SEARCHLISTCATALOGID    
 UC_MKTAPPEALRECORDSOURCE_TRANSLATIONFUNCTIONCATALOGID TRANSLATIONFUNCTIONCATALOGID    

Trigger Name Description
 TR_MKTAPPEALRECORDSOURCE_AUDIT_UPDATE
 TR_MKTAPPEALRECORDSOURCE_AUDIT_DELETE

Entity-Relationship diagram of this table