Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
int | Default = 0 | The quantity of the resource needed for the event. | |
![]() |
tinyint | Default = 0 | The type of staffing resource which can be used to fulfill this requirement. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(9) (Computed) | ![]() |
CASE [FILLEDBYCODE] WHEN 0 THEN N'Volunteer' WHEN 1 THEN N'Staff' WHEN 2 THEN N'Board' END | Provides a translation for the 'FILLEDBYCODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | ![]() |
EVENT.ID | The event that this resource is added to. |
![]() |
uniqueidentifier | VOLUNTEERTYPE.LOCALID | The staff resource that we are adding to the event. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
JOB.ID | The job associated with the event staff resource. |
![]() |
uniqueidentifier | ![]() |
JOBOCCURRENCE.ID | The job occurence associated with the event staff resource. |
![]() |
uniqueidentifier | ![]() |
EVENTCONFLICT.ID | This is the conflict generated if this event could not be scheduled for any reason. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
EVENTID, EVENTCONFLICTID, VOLUNTEERTYPEID | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
EVENTSTAFFRESOURCEID |