DATATUNEUP

The data tune-up settings are represented by this table.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ADDRESSFORMATTINGCODE tinyint Default = 0 Address formatting to use.
DONOTABBREVIATE bit Default = 0 Do not abbreviate address elements according to USPS format.
CAPITALIZE bit Default = 0 Capitalize the entire address.
UPDATEADDRESSCODE tinyint Default = 0 Update address with forwardable moves or changes and validations.
SAVEFORMERADDRESS bit Default = 0 Save former addresses in the constituent address list when there is a forwardable move.
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.
FTPCONNECTIONCODE tinyint Default = 1
FTPCONNECTION nvarchar(7) (Computed) yes CASE [FTPCONNECTIONCODE] WHEN 0 THEN N'Passive' WHEN 1 THEN N'Active' END

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID Set the former addresses to this address type.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
INFOSOURCECODEID uniqueidentifier yes INFOSOURCECODE.ID FK to INFOSOURCECODE
ADDRESSVALIDATION_INFOSOURCECODEID uniqueidentifier yes INFOSOURCECODE.ID Set the information source for address validations

Indexes

Index Name Fields Unique Primary Clustered
IX_DATATUNEUP_DATEADDED DATEADDED yes
IX_DATATUNEUP_DATECHANGED DATECHANGED
PK_DATATUNEUP ID yes yes

Triggers

Trigger Name Description
TR_DATATUNEUP_LIMIT
TR_DATATUNEUP_AUDIT_UPDATE
TR_DATATUNEUP_AUDIT_DELETE

Referenced by

Referenced by Field
ADDRESSVALIDATION DATATUNEUPID
COAUPDATE DATATUNEUPID
DATATUNEUPFOOTNOTEREASONMAP ID