CURRENCYSET (4.0SP4)

Stores information pertaining to currency sets.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BASECURRENCYID

uniqueidentifier

false

FK to CURRENCY

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of the currency set.

ISAPPUSERDEFAULT

bit

false

0

Indicates this currency set is the currency set to use for application users not directly linked to another currency set.

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_CURRENCYSET_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_CURRENCYSET_DATEADDED

DATEADDED

False

False

True

IX_CURRENCYSET_DATECHANGED

DATECHANGED

False

False

False

PK_CURRENCYSET

ID

True

True

False

UC_CURRENCYSET_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_CURRENCYSET_AUDIT_UPDATE

TR_CURRENCYSET_AUDIT_DELETE

Referenced by
Referenced by Field

ADDPROSPECTPLANSPROCESS

PROSPECTPLANCURRENCYSETID

APPUSERCURRENCYSET

CURRENCYSETID

CURRENCYSETTRANSACTIONCURRENCY

CURRENCYSETID

PDACCOUNTSYSTEM

CURRENCYSETID