WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD

Contains the WealthPoint fields for which a Data Refresh notification can be valid.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
TABLENAME nvarchar(100) Default = '' Contains the name of the table which which the field is found.
FIELDNAME nvarchar(100) Default = '' Contains the name of the field as it is in the table.
FIELDTRANSLATION nvarchar(100) Default = '' Contains the name of the field as it should look in the UI.
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD_DATEADDED DATEADDED yes
IX_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD_DATECHANGED DATECHANGED
PK_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD ID yes yes
UIX_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD_TABLENAME_FIELDNAME TABLENAME, FIELDNAME yes

Triggers

Trigger Name Description
TR_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD_AUDIT_UPDATE
TR_WEALTHPOINTDATAREFRESHNOTIFICATIONFIELD_AUDIT_DELETE