ACTIONITEM_TARGET (4.0SP14)

Stores targets for action item

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ACTIONITEMID

uniqueidentifier

false

Action Item ID

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ADVOCACYGROUPID

smallint

false

((0))

Advocacy group ID

LEGISID

nvarchar(10)

false

''

legislator ID

SENDTYPECODE

tinyint

false

0

Send Type

SENDTYPE

nvarchar(2) (Computed)

true

Provides a translation for the 'SENDTYPECODE' field.

TARGETTYPECODE

tinyint

false

0

Target Type

TARGETTYPE

nvarchar(6) (Computed)

true

Provides a translation for the 'TARGETTYPECODE' field.

STATE

nvarchar(5)

false

''

State

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_ACTIONITEM_TARGET_ACTIONITEMID

ACTIONITEMID

False

False

False

IX_ACTIONITEM_TARGET_DATEADDED

DATEADDED

False

False

True

IX_ACTIONITEM_TARGET_DATECHANGED

DATECHANGED

False

False

False

PK_ACTIONITEM_TARGET

ID

True

True

False

Triggers
Trigger Name Description

TR_ACTIONITEM_TARGET_AUDIT_UPDATE

TR_ACTIONITEM_TARGET_AUDIT_DELETE