ScrewTurn Wiki

Edit

wikibot

TableSales.CurrencyRate
DescriptionCurrency exchange rates.

Edit

Columns

ColumnData TypeNullableDefaultDescription
CurrencyRateIDintnot null Primary key for CurrencyRate records.
CurrencyRateDatedatetimenot null Date and time the exchange rate was obtained.
FromCurrencyCodenchar(3)not null Exchange rate was converted from this currency code.
ToCurrencyCodenchar(3)not null Exchange rate was converted to this currency code.
AverageRatemoneynot null Average exchange rate for the day.
EndOfDayRatemoneynot null Final exchange rate for the day.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Edit

Primary Key

Primary KeyColumns
PK_CurrencyRate_CurrencyRateIDCurrencyRateID

Edit

Indexes

IndexTypeColumns
AK_CurrencyRate_CurrencyRateDate_FromCurrencyCode_ToCurrencyCodeUniqueCurrencyRateDate, FromCurrencyCode, ToCurrencyCode

Edit

Foreign Keys

RelationColumnReferenced Column
Sales.CurrencyFromCurrencyCodeCurrencyCode
Sales.CurrencyToCurrencyCodeCurrencyCode

Edit

Detail Tables

Detail TableColumnReferencing Column
Sales.SalesOrderHeaderCurrencyRateIDCurrencyRateID

Edit

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

Edit

automatically generated

TableSales.CurrencyRate
DescriptionCurrency exchange rates.

ColumnData TypeNullableDefaultDescription / PK / Index
CurrencyRateIDintnot null Primary key for CurrencyRate records.
PK_CurrencyRate_CurrencyRateID
CurrencyRateDatedatetimenot null Date and time the exchange rate was obtained.
AK_CurrencyRate_CurrencyRateDate_FromCurrencyCode_ToCurrencyCode
FromCurrencyCodenchar(3)not null Exchange rate was converted from this currency code.
AK_CurrencyRate_CurrencyRateDate_FromCurrencyCode_ToCurrencyCode
ToCurrencyCodenchar(3)not null Exchange rate was converted to this currency code.
AK_CurrencyRate_CurrencyRateDate_FromCurrencyCode_ToCurrencyCode
AverageRatemoneynot null Average exchange rate for the day.
EndOfDayRatemoneynot null Final exchange rate for the day.
ModifiedDatedatetimenot null(GETDATE())Date and time the record was last updated.



RelationColumnReferenced Column
Sales.CurrencyFromCurrencyCodeCurrencyCode
Sales.CurrencyToCurrencyCodeCurrencyCode

Detail TableColumnReferencing Column
Sales.SalesOrderHeaderCurrencyRateIDCurrencyRateID

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

ScrewTurn Wiki version 2.0.36. Some of the icons created by FamFamFam.