MAPENTITYCATALOG

Contains MapEntitySpec definitions.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' Unique name of the map entity.
DESCRIPTION nvarchar(max) Default = '' Describes the map entity.
RETURNSMULTIPLE bit Default = 0 Whether the map entity will return multiple address
IDISSELECTIONID bit Default = 0 Whether or not the ID is a selection ID
MAPPINGPROCEDURE nvarchar(255) Default = '' The SQL stored procedure which takes an ID of the FROMRECORDTYPE and selects a list of the GEOCODE values
IMAGEKEY nvarchar(512) Default = '' Image key that represents FROMRECORDTYPE.
MAPENTITYXML xml
SECURITYUIFOLDER nvarchar(255) Default = '' The folder path where the merge task catalog item will be displayed when presented in a UI tree view.
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.
SPECUINAME nvarchar(100) Default = '' Presentation name of the map entity used to override the map entity name for display in the application.
UINAME nvarchar(100) (Computed) case when len(SPECUINAME) = 0 then NAME else SPECUINAME end Name of the map entity for display in the application.

Foreign Keys

Foreign Key Field Type Null Notes Description
FROMRECORDTYPEID uniqueidentifier RECORDTYPE.ID The ID of the record type to map from
MAPPEDRECORDTYPEID uniqueidentifier RECORDTYPE.ID The ID of the record type that will appear on the map
ADDRESSRECORDTYPEID uniqueidentifier yes RECORDTYPE.ID The record type ID for the address
SEARCHLISTID uniqueidentifier SEARCHLISTCATALOG.ID The searchlist to be used when adding an instance to the map.
ADDDATAFORMINSTANCEID uniqueidentifier yes DATAFORMINSTANCECATALOG.ID The add form to be used when saving an instance of the map.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
NAVIGATIONPAGEID uniqueidentifier yes PAGEDEFINITIONCATALOG.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_MAPENTITYCATALOG_DATEADDED DATEADDED yes
IX_MAPENTITYCATALOG_DATECHANGED DATECHANGED
PK_MAPENTITYCATALOG ID yes yes
UC_MAPENTITYCATALOG_NAME NAME yes

Triggers

Trigger Name Description
TR_MAPENTITYCATALOG_AUDIT_UPDATE
TR_MAPENTITYCATALOG_AUDIT_DELETE

Referenced by

Referenced by Field
SYSTEMROLEPERM_MAPENTITY MAPENTITYCATALOGID