| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
HOURSWORKED |
decimal(20, 2) | Default = 0.0 | Indicates the number of hours worked for this time sheet (in quarter hour increments). | |
STARTDATE |
datetime | Indicates the start date for the timesheet. | ||
ENDDATE |
datetime | ![]() |
Indicates the end date for the timesheet. | |
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. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
VOLUNTEERID |
uniqueidentifier | CONSTITUENT.LOCALID | Indicates the volunteer to whom this timesheet applies. | |
JOBOCCURRENCEID |
uniqueidentifier | JOBOCCURRENCE.ID | Indicates the job occurance to which this timesheet applies. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_TIMESHEET_DATEADDED |
DATEADDED | ![]() |
||
IX_TIMESHEET_DATECHANGED |
DATECHANGED | |||
IX_TIMESHEET_JOBOCCURRENCEID |
JOBOCCURRENCEID | |||
IX_TIMESHEET_VOLUNTEERID |
VOLUNTEERID | |||
PK_TIMESHEET |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_TIMESHEET_AUDIT_UPDATE |
|
TR_TIMESHEET_AUDIT_DELETE |

ID
HOURSWORKED
TSLONG
VOLUNTEERID
IX_TIMESHEET_DATEADDED
IX_TIMESHEET_DATECHANGED