BATCHCONSTITUENTUPDATEADDRESSES
Stores addresses for constituent update batch.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| SEQUENCE |
int |
|
Default = 0 |
Stores the user-defined sequence for addresses on a constituent. |
| ADDRESSBLOCK |
nvarchar(150) |
|
Default = '' |
|
| CITY |
nvarchar(max) |
|
Default = '' |
|
| POSTCODE |
nvarchar(12) |
|
Default = '' |
|
| HISTORICALSTARTDATE |
date |
yes |
|
Indicates the date that the constituent started using this address. |
| ISPRIMARY |
bit |
|
Default = 0 |
|
| DONOTMAIL |
bit |
|
Default = 0 |
|
| UPDATEHOUSEHOLD |
bit |
|
Default = 0 |
|
| STARTDATE |
UDT_MONTHDAY |
|
Default = '0000' |
For seasonal address types only; DD/MM start date of when this address should be considered for mailings. |
| ENDDATE |
UDT_MONTHDAY |
|
Default = '0000' |
For seasonal address types only; DD/MM end date of when this address should be considered for mailings. |
| DPC |
nvarchar(max) |
|
Default = '' |
|
| CART |
nvarchar(max) |
|
Default = '' |
|
| LOT |
nvarchar(5) |
|
Default = '' |
|
| CERTIFICATIONDATA |
int |
|
Default = 0 |
|
| LASTVALIDATIONATTEMPTDATE |
date |
yes |
|
|
| OMITFROMVALIDATION |
bit |
|
Default = 0 |
|
| VALIDATIONMESSAGE |
nvarchar(200) |
|
Default = '' |
|
| 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. |
| INFOSOURCECOMMENTS |
nvarchar(256) |
|
Default = '' |
Contains additional comments about the information source. |
| HISTORICALENDDATE |
date |
yes |
|
Indicates the date that the constituent stopped using this address. |
| ISMANUALEXCEPTION |
bit |
|
Default = 0 |
|
| ROWORIGINCODE |
tinyint |
|
Default = 0 |
|
| ROWORIGIN |
nvarchar(129) (Computed) |
yes |
CASE [ROWORIGINCODE] WHEN 0 THEN N'Unspecified' WHEN 1 THEN N'Included in the collection field XML at time of batch save' WHEN 2 THEN N'Automatically included by the system during import or matching to correspond to an existing contact row linked to the constituent' END |
|
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BATCHCONSTITUENTUPDATEADDRESSES_ADDRESSID |
ADDRESSID |
|
|
|
| IX_BATCHCONSTITUENTUPDATEADDRESSES_BATCHCONSTITUENTUPDATEID |
BATCHCONSTITUENTUPDATEID |
|
|
|
| IX_BATCHCONSTITUENTUPDATEADDRESSES_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BATCHCONSTITUENTUPDATEADDRESSES_DATECHANGED |
DATECHANGED |
|
|
|
| IX_BATCHCONSTITUENTUPDATEADDRESSES_MANUALEXCEPTIONSIMILARADDRESSID |
MANUALEXCEPTIONSIMILARADDRESSID |
|
|
|
| PK_BATCHCONSTITUENTUPDATEADDRESSES |
ID |
yes |
yes |
|
Triggers
Referenced by