DATATUNEUPFOOTNOTEREASONMAP

Defines a mapping from COA DPV footnote codes to do not mail reason codes.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
ID uniqueidentifier DATATUNEUP.ID Primary Key.
FOOTNOTECODE1REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that forwardable moves should be marked with.
FOOTNOTECODE2REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves with no forwardable addresses should be marked with.
FOOTNOTECODE3REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that PO box closings should be marked with.
FOOTNOTECODE4REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves to foreign addresses should be marked with.
FOOTNOTECODE5REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves without verifiable second addresses should be marked with.
FOOTNOTECODE6REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves to addresses without USPS records should be marked with.
FOOTNOTECODE7REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that temporary addresses that have lapsed should be marked with.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_DATATUNEUPFOOTNOTEREASONMAP_DATEADDED DATEADDED yes
IX_DATATUNEUPFOOTNOTEREASONMAP_DATECHANGED DATECHANGED
PK_DATATUNEUPFOOTNOTEREASONMAP ID yes yes

Triggers

Trigger Name Description
TR_DATATUNEUPFOOTNOTEREASONMAP_AUDIT_UPDATE
TR_DATATUNEUPFOOTNOTEREASONMAP_AUDIT_DELETE