MULTICURRENCYCONFIGURATION

Stores information pertaining to multicurrency configuration settings.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ORGANIZATIONAMOUNTORIGINCODE tinyint Default = 0 0=Base amount, 1=Transaction amount
ORGANIZATIONAMOUNTORIGIN nvarchar(18) (Computed) yes CASE [ORGANIZATIONAMOUNTORIGINCODE] WHEN 0 THEN N'Base amount' WHEN 1 THEN N'Transaction amount' END Provides a translation for the 'ORGANIZATIONAMOUNTORIGINCODE' field.
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
CORPORATEEXCHANGERATEEXPIRATIONCODE tinyint Default = 0 0=Never, 1=Same day, 2=In one day, 3=In two days, 4=In three days, 5=In one week, 6=In one month, 7=In one quarter, 8=In one year
CORPORATEEXCHANGERATEEXPIRATION nvarchar(14) (Computed) yes CASE [CORPORATEEXCHANGERATEEXPIRATIONCODE] WHEN 0 THEN N'Never' WHEN 1 THEN N'Same day' WHEN 2 THEN N'In one day' WHEN 3 THEN N'In two days' WHEN 4 THEN N'In three days' WHEN 5 THEN N'In one week' WHEN 6 THEN N'In one month' WHEN 7 THEN N'In one quarter' WHEN 8 THEN N'In one year' END Provides a translation for the 'CORPORATEEXCHANGERATEEXPIRATIONCODE' field.
DAILYEXCHANGERATEEXPIRATIONCODE tinyint Default = 0 0=Never, 1=Same day, 2=In one day, 3=In two days, 4=In three days, 5=In one week, 6=In one month, 7=In one quarter, 8=In one year
DAILYEXCHANGERATEEXPIRATION nvarchar(14) (Computed) yes CASE [DAILYEXCHANGERATEEXPIRATIONCODE] WHEN 0 THEN N'Never' WHEN 1 THEN N'Same day' WHEN 2 THEN N'In one day' WHEN 3 THEN N'In two days' WHEN 4 THEN N'In three days' WHEN 5 THEN N'In one week' WHEN 6 THEN N'In one month' WHEN 7 THEN N'In one quarter' WHEN 8 THEN N'In one year' END Provides a translation for the 'DAILYEXCHANGERATEEXPIRATIONCODE' field.

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MULTICURRENCYCONFIGURATION_DATEADDED DATEADDED yes
IX_MULTICURRENCYCONFIGURATION_DATECHANGED DATECHANGED
PK_MULTICURRENCYCONFIGURATION ID yes yes

Triggers

Trigger Name Description
TR_MULTICURRENCYCONFIGURATION_AUDIT_UPDATE
TR_MULTICURRENCYCONFIGURATION_AUDIT_DELETE