ADDRESSVALIDATION
Represents the address validation data tune-up process.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(150) |
|
Default = '' |
Name to be used if there is no site. |
| DESCRIPTION |
nvarchar(250) |
|
Default = '' |
The description of the address validation process. |
| DATELASTRUN |
datetime |
yes |
|
Stores the date of the last time one of the steps was run. |
| STEPCODE |
tinyint |
|
Default = 0 |
Tracks the most current state of the change of update process. |
| STEP |
nvarchar(25) (Computed) |
yes |
CASE [STEPCODE] WHEN 0 THEN N'Last run on:' WHEN 1 THEN N'Created and processed on:' WHEN 2 THEN N'Committed on:' END |
Provides a translation for the 'STEPCODE' field. |
| VALIDATIONCOMPLETE |
bit |
|
Default = 0 |
Indicates whether or not the validation process has finished. |
| 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 |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
Foreign key for site table. |
| DATATUNEUPID |
uniqueidentifier |
|
DATATUNEUP.ID
|
Foreign key to the data tune-up table. |
| BATCHID |
uniqueidentifier |
yes |
BATCH.ID
|
The batch instance into which the data will be imported. |
| BATCHAPPUSERID |
uniqueidentifier |
yes |
APPUSER.ID
|
Represents the user who will be the owner of the batch once it is created by the import process. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_ADDRESSVALIDATION_DATEADDED |
DATEADDED |
|
|
yes |
| IX_ADDRESSVALIDATION_DATECHANGED |
DATECHANGED |
|
|
|
| PK_ADDRESSVALIDATION |
ID |
yes |
yes |
|
| UC_ADDRESSVALIDATION_SITEID |
SITEID |
yes |
|
|
Triggers
Referenced by