IMPORTSELECTIONPROCESS
Stores information for the import selection process.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(255) |
|
Default = '' |
The name of the import selection. |
DESCRIPTION |
nvarchar(1024) |
|
Default = '' |
A description of the import selection. |
USEINQUERYDESIGNER |
bit |
|
Default = 0 |
Indicates whether or not this selection can be used by the query designer. |
IDFIELD |
nvarchar(255) |
|
Default = '' |
The column in the import file that represents the record IDs to be imported. |
STATUSCODE |
tinyint |
|
Default = 0 |
The status of the import selection. |
STATUS |
nvarchar(24) (Computed) |
yes |
CASE [STATUSCODE] WHEN 0 THEN N'Pending import' WHEN 1 THEN N'Importing' WHEN 2 THEN N'Imported' WHEN 3 THEN N'Imported with exceptions' 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. |
IDTYPECODE |
tinyint |
|
Default = 0 |
The type of record ID found in the ID column. |
IDTYPE |
nvarchar(19) (Computed) |
yes |
CASE [IDTYPECODE] WHEN 0 THEN N'System record ID' WHEN 1 THEN N'Lookup ID' WHEN 2 THEN N'Alternate lookup ID' END |
Provides a translation for the 'IDTYPECODE' field. |
ALTERNATELOOKUPIDTYPECODEID |
uniqueidentifier |
yes |
|
For imports using the alternate lookup ID, the ID of the alternate lookup ID type code table entry to use. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
RECORDTYPEID |
uniqueidentifier |
|
RECORDTYPE.ID
|
The record type of the IDs in the import selection. |
QUERYCATEGORYCODEID |
uniqueidentifier |
yes |
QUERYCATEGORYCODE.ID
|
The category of the import selection. |
SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site of the import selection. |
IDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
The selection that was imported. |
OWNERID |
uniqueidentifier |
|
APPUSER.ID
|
The application user who created the import selection. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_IMPORTSELECTIONPROCESS_DATEADDED |
DATEADDED |
|
|
yes |
IX_IMPORTSELECTIONPROCESS_DATECHANGED |
DATECHANGED |
|
|
|
IX_IMPORTSELECTIONPROCESS_OWNERID |
OWNERID |
|
|
|
IX_IMPORTSELECTIONPROCESS_QUERYCATEGORYCODEID |
QUERYCATEGORYCODEID |
|
|
|
IX_IMPORTSELECTIONPROCESS_RECORDTYPEID |
RECORDTYPEID |
|
|
|
IX_IMPORTSELECTIONPROCESS_SITEID |
SITEID |
|
|
|
PK_IMPORTSELECTIONPROCESS |
ID |
yes |
yes |
|
UC_IMPORTSELECTIONPROCESS_NAME |
NAME |
yes |
|
|
UIX_IMPORTSELECTIONPROCESS_IDSETREGISTERID |
IDSETREGISTERID |
yes |
|
|
Triggers
Referenced by