Field |
Field Type |
Null |
Notes |
Description |
ADVOCACYGROUPID |
smallint |
|
Default = ((0)) |
Advocacy group ID |
LEGISID |
nvarchar(10) |
|
Default = '' |
legislator ID |
SENDTYPECODE |
tinyint |
|
Default = 0 |
Send Type |
SENDTYPE |
nvarchar(2) (Computed) |
 |
CASE [SENDTYPECODE] WHEN 0 THEN N'To' WHEN 1 THEN N'CC' END |
Provides a translation for the 'SENDTYPECODE' field. |
TARGETTYPECODE |
tinyint |
|
Default = 0 |
Target Type |
TARGETTYPE |
nvarchar(6) (Computed) |
 |
CASE [TARGETTYPECODE] WHEN 0 THEN N'LEGIS' WHEN 1 THEN N'MEDIA' WHEN 2 THEN N'CUSTOM' END |
Provides a translation for the 'TARGETTYPECODE' field. |
STATE |
nvarchar(5) |
|
Default = '' |
State |
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. |