ACTIONCENTER

Advocacy Action center

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
PRIORITYCODE tinyint Default = 0 Priority Type
PRIORITY nvarchar(6) (Computed) yes CASE [PRIORITYCODE] WHEN 0 THEN N'Normal' WHEN 1 THEN N'High' END Provides a translation for the 'PRIORITYCODE' field.
SORTORDER int Default = 0 SortOrder
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.
DISPLAYAINAMELIST bit Default = 1 Display Action Item Name in Listing Fields
DISPLAYSYNOPSIS bit Default = 1 Display Synopsis in Listing Fields
DISPLAYTHUMBNAIL bit Default = 1 Display Thumbnail in Listing Fields
DISPLAYAINAME bit Default = 1 Display Action Item Name in Detail Fields
DISPLAYFULLDESCRIPTION bit Default = 1 Display Full Description in Detail Fields
DISPLAYLOGO bit Default = 1 Display Logo in Detail Fields

Foreign Keys

Foreign Key Field Type Null Notes Description
ACTIONITEMID uniqueidentifier ACTION_ITEM.ID ActionItemID
SITECONTENTID int SiteContent.ID SiteContentId
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
STORYID int yes NewsStories.ID StoryID

Indexes

Index Name Fields Unique Primary Clustered
IX_ACTIONCENTER_DATEADDED DATEADDED yes
IX_ACTIONCENTER_DATECHANGED DATECHANGED
PK_ACTIONCENTER ID yes yes
UIX_ACTIONCENTER_ACTIONITEMID_SITECONTENTID ACTIONITEMID, SITECONTENTID yes

Triggers

Trigger Name Description
TR_ACTIONCENTER_AUDIT_UPDATE
TR_ACTIONCENTER_AUDIT_DELETE