Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 FROMRECORDTYPE nvarchar(200)   Default = '' The name of the record type to map from
 TORECORDTYPE nvarchar(50)   Default = '' The name of the record type to map to
 MAPPINGFUNCTION nvarchar(255)   Default = '' The SQL scalar user-defined function which takes an ID of the FROMRECORDTYPE and returns and ID of the TORECORDTYPE
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_NOTIFICATIONIDMAP_DATEADDED DATEADDED    
 IX_NOTIFICATIONIDMAP_DATECHANGED DATECHANGED      
 IX_NOTIFICATIONIDMAP_TORECORDTYPE TORECORDTYPE      
 PK_NOTIFICATIONIDMAP ID  
 UIX_NOTIFICATIONIDMAP_FROMRECORDTYPE_TORECORDTYPE FROMRECORDTYPE, TORECORDTYPE    

Trigger Name Description
 TR_NOTIFICATIONIDMAP_AUDIT_UPDATE
 TR_NOTIFICATIONIDMAP_AUDIT_DELETE