Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100) (Computed) dbo.[UFN_MKTFINDERFILE_GETNAME]([ID]) The name of the finder file to be imported.
 ORDERDATE datetime Finder file order date
 EXPIRATIONDATE datetime Finder file order date
 FILENAME nvarchar(255)   Default = '' The original file name for the imported list file.
 QUANTITY int   Default = 0 Number of records imported.
 STATUSCODE tinyint   Default = 0 Status of the finer file import.
 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.
 STATUS nvarchar(25) (Computed) CASE [STATUSCODE] WHEN 0 THEN N'Loading' WHEN 1 THEN N'Completed successfully' WHEN 2 THEN N'Completed with exceptions' WHEN 3 THEN N'Failed' END Provides a translation for the 'STATUSCODE' field.

Foreign Key Field Type Null Notes Description
 SEGMENTATIONID uniqueidentifier   MKTSEGMENTATION.ID The marketing effort for the finder file
 VENDORID uniqueidentifier   VENDOR.ID Finder file vendor
 CATEGORYCODEID uniqueidentifier MKTFINDERFILECATEGORYCODE.ID Category for a finder file
 LISTLAYOUTID uniqueidentifier MKTLISTLAYOUT.ID Foreign key to MKTLISTLAYOUT. The list layout used to import records for this segment.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_MKTFINDERFILEIMPORTPROCESS_DATEADDED DATEADDED    
 IX_MKTFINDERFILEIMPORTPROCESS_DATECHANGED DATECHANGED      
 IX_MKTFINDERFILEIMPORTPROCESS_LISTLAYOUTID LISTLAYOUTID      
 IX_MKTFINDERFILEIMPORTPROCESS_SEGMENTATIONID SEGMENTATIONID      
 IX_MKTFINDERFILEIMPORTPROCESS_VENDORID VENDORID      
 PK_MKTFINDERFILEIMPORTPROCESS ID  

Trigger Name Description
 TR_MKTFINDERFILEIMPORTPROCESS_AUDIT_UPDATE
 TR_MKTFINDERFILEIMPORTPROCESS_AUDIT_DELETE

Referenced by Field
 MKTFINDERFILEIMPORTPROCESSEXPORTFORMAT PARAMETERSETID
 MKTFINDERFILEIMPORTPROCESSSTATUS PARAMETERSETID

Entity-Relationship diagram of this table