RATESCALEAPPLICATION (4.0SP17)

Percentage application for the price on a rate scale.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RATESCALEID

uniqueidentifier

false

Rate scale the application belongs to.

PROGRAMID

uniqueidentifier

true

FK to PROGRAM

FEEID

uniqueidentifier

true

FK to FEE

RESOURCEID

uniqueidentifier

true

FK to RESOURCE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

VOLUNTEERTYPEID

uniqueidentifier

true

FK to VOLUNTEERTYPE

Fields
Field Field Type Null Notes Description

TYPECODE

tinyint

false

0

Type of item the application applies to.

PERCENT

decimal(5, 2)

false

0

SEQUENCE

int

false

0

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.

TYPE

nvarchar(25) (Computed)

true

Provides a translation for the 'TYPECODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RATESCALEAPPLICATION_DATEADDED

DATEADDED

False

False

True

IX_RATESCALEAPPLICATION_DATECHANGED

DATECHANGED

False

False

False

IX_RATESCALEAPPLICATION_RATESCALEID

RATESCALEID

False

False

False

PK_RATESCALEAPPLICATION

ID

True

True

False

Triggers
Trigger Name Description

TR_RATESCALEAPPLICATION_AUDIT_UPDATE

TR_RATESCALEAPPLICATION_AUDIT_DELETE