MKTCONSTITUENTFILEIMPORTPROCESS (4.0SP14)

Stores information pertaining to a segmented house file import.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SEGMENTATIONID

uniqueidentifier

false

The marketing effort for the segmented house file

LISTLAYOUTID

uniqueidentifier

true

Foreign key to MKTLISTLAYOUT. The list layout used to import records for this segment.

CATEGORYCODEID

uniqueidentifier

true

Category for a segmented house file

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

RECORDTYPEID

uniqueidentifier

true

The record type of the IDs in the segmented house file.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100) (Computed)

true

The name of the segmented house file to be imported.

FILENAME

nvarchar(255)

false

''

The original file name for the imported file.

QUANTITY

int

false

0

Number of records imported.

STATUSCODE

tinyint

false

0

Status of the segmented house file import.

STATUS

nvarchar(25) (Computed)

true

Provides a translation for the 'STATUSCODE' field.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTCONSTITUENTFILEIMPORTPROCESS_CATEGORYCODEID

CATEGORYCODEID

False

False

False

IX_MKTCONSTITUENTFILEIMPORTPROCESS_DATEADDED

DATEADDED

False

False

True

IX_MKTCONSTITUENTFILEIMPORTPROCESS_DATECHANGED

DATECHANGED

False

False

False

IX_MKTCONSTITUENTFILEIMPORTPROCESS_LISTLAYOUTID

LISTLAYOUTID

False

False

False

IX_MKTCONSTITUENTFILEIMPORTPROCESS_RECORDTYPEID

RECORDTYPEID

False

False

False

IX_MKTCONSTITUENTFILEIMPORTPROCESS_SEGMENTATIONID

SEGMENTATIONID

False

False

False

PK_MKTCONSTITUENTFILEIMPORTPROCESS

ID

True

True

False

Triggers
Trigger Name Description

TR_MKTCONSTITUENTFILEIMPORTPROCESS_AUDIT_UPDATE

TR_MKTCONSTITUENTFILEIMPORTPROCESS_AUDIT_DELETE

Referenced by
Referenced by Field

MKTCONSTITUENTFILEIMPORTPROCESSEXPORTFORMAT

PARAMETERSETID

MKTCONSTITUENTFILEIMPORTPROCESSSTATUS

PARAMETERSETID