EXCHANGECALENDARITEMBATCH
Batch table containing Exchange calendar item record updates.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| OBJECTIVE |
nvarchar(256) |
|
Default = '' |
|
| EXPECTEDDATE |
datetime |
|
|
|
| SEQUENCE |
int |
|
Default = 0 |
Sequence |
| PROCESS |
bit |
|
Default = 1 |
|
| 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. |
| RECORDTYPECODE |
tinyint |
|
Default = 0 |
0=Constituent interaction, 1=Prospect plan step, 2=Stewardship plan step |
| RECORDTYPE |
nvarchar(23) (Computed) |
yes |
CASE [RECORDTYPECODE] WHEN 0 THEN N'Constituent interaction' WHEN 1 THEN N'Prospect plan step' WHEN 2 THEN N'Stewardship plan step' END |
Provides a translation for the 'RECORDTYPECODE' field. |
| EXPECTEDSTARTTIME |
UDT_HOURMINUTE |
|
Default = '' |
Expected starting time of the interaction. |
| EXPECTEDENDTIME |
UDT_HOURMINUTE |
|
Default = '' |
Expected ending time of the interaction. |
| ISALLDAYEVENT |
int (Computed) |
|
(case when EXPECTEDSTARTTIME = '' then 1 else 0 end) |
|
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_EXCHANGECALENDARITEMBATCH_BATCHID |
BATCHID |
|
|
|
| IX_EXCHANGECALENDARITEMBATCH_CONSTITUENTID |
CONSTITUENTID |
|
|
|
| IX_EXCHANGECALENDARITEMBATCH_DATEADDED |
DATEADDED |
|
|
yes |
| IX_EXCHANGECALENDARITEMBATCH_DATECHANGED |
DATECHANGED |
|
|
|
| IX_EXCHANGECALENDARITEMBATCH_OWNERID |
OWNERID |
|
|
|
| PK_EXCHANGECALENDARITEMBATCH |
ID |
yes |
yes |
|
Triggers
Referenced by