RELATEDSTAFFROLECODE (4.0SP20)

Stores roles for external staff related to a fundraising purpose.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DESCRIPTION

nvarchar(100)

false

Stores the description of the table entry

ACTIVE

bit

false

1

Indicates whether or not the table entry is active

SEQUENCE

int

false

0

Stores the user-defined sequence for the table entry

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_RELATEDSTAFFROLECODE_DATEADDED

DATEADDED

False

False

True

PK_RELATEDSTAFFROLECODE

ID

True

True

False

UIX_RELATEDSTAFFROLECODE_DESCRIPTION

DESCRIPTION

True

False

False

Triggers
Trigger Name Description

TR_RELATEDSTAFFROLECODE_INSERT_BBNCCODETABLEIDMAP

TR_RELATEDSTAFFROLECODE_DELETE_BBNCCODETABLEIDMAP

TR_RELATEDSTAFFROLECODE_AUDIT_UPDATE

TR_RELATEDSTAFFROLECODE_AUDIT_DELETE

Referenced by
Referenced by Field

DESIGNATIONLEVELRELATEDSTAFF

ROLECODEID