Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 MAPPINGTYPECODE tinyint   Default = 0 Indicates the type of mapping (specific to the type of processor that is the parent for this record).
 SEQUENCE int   Default = 0
 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.
 NAME nvarchar(100)   Default = ''
 MAPPINGTYPE nvarchar(18) (Computed) CASE [MAPPINGTYPECODE] WHEN 0 THEN N'Default' WHEN 1 THEN N'Constituent' WHEN 2 THEN N'Page ID' WHEN 3 THEN N'Designation' WHEN 4 THEN N'Appeal' WHEN 5 THEN N'Solicitor' WHEN 6 THEN N'Event' WHEN 7 THEN N'Membership program' WHEN 8 THEN N'Primary member' WHEN 9 THEN N'BBIS Site' END

Foreign Key Field Type Null Notes Description
 NETCOMMUNITYTRANSACTIONPROCESSORID uniqueidentifier   NETCOMMUNITYTRANSACTIONPROCESSOR.ID FK to NETCOMMUNITYTRANSACTIONPROCESSOR
 SELECTIONID uniqueidentifier IDSETREGISTER.ID The selection to use for mapping from NetCommunity to BBEC.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CONSTIT_SECURITY_ATTRIBUTEID uniqueidentifier CONSTIT_SECURITY_ATTRIBUTE.ID The default constituent security group that all created constituents will belong to when processed by this rule.
 DEFAULTTRIBUTEID uniqueidentifier TRIBUTE.LOCALID The tribute to default onto donation transactions
 SITEID uniqueidentifier SITE.ID The default site that all created constituents will belong to when processed by this rule.
 DEFAULTPDACCOUNTSYSTEMID uniqueidentifier PDACCOUNTSYSTEM.ID FK to PDACCOUNTSYSTEM
 ATTRIBUTECURRENCYID uniqueidentifier CURRENCY.ID FK to CURRENCY
 BATCHTEMPLATEID uniqueidentifier BATCHTEMPLATE.ID

Index Name Field(s) Unique Primary Clustered
 IX_NETCOMMUNITYMAPPINGRULE_DATEADDED DATEADDED    
 IX_NETCOMMUNITYMAPPINGRULE_DATECHANGED DATECHANGED      
 IX_NETCOMMUNITYMAPPINGRULE_NETCOMMUNITYTRANSACTIONPROCESSORID NETCOMMUNITYTRANSACTIONPROCESSORID      
 PK_NETCOMMUNITYMAPPINGRULE ID  

Trigger Name Description
 TR_NETCOMMUNITYMAPPINGRULE_AUDIT_UPDATE
 TR_NETCOMMUNITYMAPPINGRULE_AUDIT_DELETE

Referenced by Field
 NETCOMMUNITYMAPPINGRULEBATCH MAPPINGRULEID
 NETCOMMUNITYMAPPINGRULEOWNER NETCOMMUNITYMAPPINGRULEID
 NETCOMMUNITYMAPPINGRULEPAGEID NETCOMMUNITYMAPPINGRULEID
 NETCOMMUNITYMAPPINGRULESITEID NETCOMMUNITYMAPPINGRULEID

Entity-Relationship diagram of this table