RATESCALESTAFFRESOURCE (4.0)

Staffing resource included in the flat rate scale.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RATESCALEID

uniqueidentifier

false

The rate scale this staffing resource applies to.

VOLUNTEERTYPEID

uniqueidentifier

false

The staffing resource this rate scale includes.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RATESCALESTAFFRESOURCE_DATEADDED

DATEADDED

False

False

True

IX_RATESCALESTAFFRESOURCE_DATECHANGED

DATECHANGED

False

False

False

PK_RATESCALESTAFFRESOURCE

ID

True

True

False

UIX_RATESCALESTAFFRESOURCE_RATESCALEID_VOLUNTEERTYPEID

RATESCALEID

VOLUNTEERTYPEID

True

False

False

Triggers
Trigger Name Description

TR_RATESCALESTAFFRESOURCE_AUDIT_UPDATE

TR_RATESCALESTAFFRESOURCE_AUDIT_DELETE