MKTFINDERFILEIMPORTPROCESS

Stores information pertaining to a find file.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) (Computed) yes dbo.[UFN_MKTFINDERFILE_GETNAME]([ID]) The name of the finder file to be imported.
ORDERDATE datetime yes Finder file order date
EXPIRATIONDATE datetime yes 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.
STATUS nvarchar(25) (Computed) yes 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.
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
SEGMENTATIONID uniqueidentifier MKTSEGMENTATION.ID The marketing effort for the finder file
VENDORID uniqueidentifier VENDOR.ID Finder file vendor
CATEGORYCODEID uniqueidentifier yes MKTFINDERFILECATEGORYCODE.ID Category for a finder file
LISTLAYOUTID uniqueidentifier yes 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.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTFINDERFILEIMPORTPROCESS_DATEADDED DATEADDED yes
IX_MKTFINDERFILEIMPORTPROCESS_DATECHANGED DATECHANGED
IX_MKTFINDERFILEIMPORTPROCESS_LISTLAYOUTID LISTLAYOUTID
IX_MKTFINDERFILEIMPORTPROCESS_SEGMENTATIONID SEGMENTATIONID
IX_MKTFINDERFILEIMPORTPROCESS_VENDORID VENDORID
PK_MKTFINDERFILEIMPORTPROCESS ID yes yes

Triggers

Trigger Name Description
TR_MKTFINDERFILEIMPORTPROCESS_AUDIT_UPDATE
TR_MKTFINDERFILEIMPORTPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
MKTFINDERFILEIMPORTPROCESSEXPORTFORMAT PARAMETERSETID
MKTFINDERFILEIMPORTPROCESSSTATUS PARAMETERSETID