MKTAPPEALRECORDSOURCE

Stores information pertaining to a person record source's appeal record source.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

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 yes SEARCHLISTCATALOG.ID The appeal search list catalog ID.
TRANSLATIONFUNCTIONCATALOGID uniqueidentifier yes TRANSLATIONFUNCTIONCATALOG.ID The appeal search list translation function ID.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTAPPEALRECORDSOURCE_DATEADDED DATEADDED yes
IX_MKTAPPEALRECORDSOURCE_DATECHANGED DATECHANGED
PK_MKTAPPEALRECORDSOURCE ID yes yes
UC_MKTAPPEALRECORDSOURCE_SEARCHLISTCATALOGID SEARCHLISTCATALOGID yes
UC_MKTAPPEALRECORDSOURCE_TRANSLATIONFUNCTIONCATALOGID TRANSLATIONFUNCTIONCATALOGID yes

Triggers

Trigger Name Description
TR_MKTAPPEALRECORDSOURCE_AUDIT_UPDATE
TR_MKTAPPEALRECORDSOURCE_AUDIT_DELETE