BATCHSTEWARDSHIPPLANSTEPUPDATE
Stores stewardship plan step update batch information.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
SEQUENCE |
int |
|
Default = 0 |
|
STEPOWNERID |
uniqueidentifier |
|
|
|
STEWARDSHIPPLANID |
uniqueidentifier |
yes |
|
|
OBJECTIVE |
nvarchar(100) |
|
Default = '' |
|
TARGETDATE |
date |
|
|
|
DATELOCKED |
bit |
|
Default = 0 |
|
ACTUALDATE |
date |
yes |
|
|
STARTDATE |
date |
yes |
|
|
ENDDATE |
date |
yes |
|
|
RECURSCODE |
smallint |
|
Default = ((0)) |
|
STATUSCODE |
smallint |
|
Default = ((0)) |
|
NEXTTARGETDATE |
date |
yes |
|
|
TARGETSTARTTIME |
UDT_HOURMINUTE |
|
Default = '' |
Target starting time of the plan step. |
TARGETENDTIME |
UDT_HOURMINUTE |
|
Default = '' |
Target ending time of the plan step. |
ACTUALSTARTTIME |
UDT_HOURMINUTE |
|
Default = '' |
Actual starting time of the plan step. |
ACTUALENDTIME |
UDT_HOURMINUTE |
|
Default = '' |
Actual ending time of the plan step. |
ISALLDAYEVENT |
bit |
|
Default = 1 |
Flags this plan step as all day. |
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. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHSTEWARDSHIPPLANSTEPUPDATE_BATCHID |
BATCHID |
|
|
|
IX_BATCHSTEWARDSHIPPLANSTEPUPDATE_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHSTEWARDSHIPPLANSTEPUPDATE_DATECHANGED |
DATECHANGED |
|
|
|
IX_BATCHSTEWARDSHIPPLANSTEPUPDATE_PRIMARYRECORDID_CONTACTPERSONID_CONSTITUENTID |
PRIMARYRECORDID, CONTACTPERSONID, CONSTITUENTID |
|
|
|
PK_BATCHSTEWARDSHIPPLANSTEPUPDATE |
ID |
yes |
yes |
|
Triggers
Referenced by