Table
ExchangeRateCurrencyPair
Exchange rate currency pair
Defines a pair of currencies, from one and to another, for an exchange rate type. The key is the from currency, the to currency and the rate type. It also has a conversion factor for display.
- Table name
ExchangeRateCurrencyPair- Module
Currencies and exchange rates- Table group
Group- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
CurrencyPairIdx- Key fields
FromCurrencyCode, ToCurrencyCode, ExchangeRateType- Model
Currency
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FromCurrencyCodeCurrency to convert from. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPairEntityExchangeRateCurrencyPairBiEntityExchangeRateCDSEntityand 2 more |
ToCurrencyCodeCurrency to convert to. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPairEntityExchangeRateCurrencyPairBiEntityExchangeRateCDSEntityand 2 more |
ExchangeRateTypePoints to the exchange rate type of the pair. | Int64ExchangeRateTypeRecId | Yes | ExchangeRateType.RecId | ExchangeRateCurrencyPairEntityExchangeRateCurrencyPairBiEntityExchangeRateCDSEntityand 2 more |
ExchangeRateDisplayFactorFactor used to show the rate: 1, 10, 100, 1000 or 10000. | EnumExchangeRateDisplayFactor (enum) | Yes | ExchangeRateCurrencyPairEntityExchangeRateCurrencyPairBiEntityExchangeRateEntityand 1 more | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | ExchangeRateCurrencyPairBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ExchangeRateCurrencyPairBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | ExchangeRateCurrencyPairBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CurrencyPairIdxReplacement keyFromCurrencyCode,ToCurrencyCode,ExchangeRateTypeUnique, alternate key.
Relations (3)
Each relation joins ExchangeRateCurrencyPair to another table on the fields shown.
ExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.RecIdMany ExchangeRateCurrencyPair records → exactly one ExchangeRateType record
FromCurrency→CurrencyJoin on
FromCurrencyCode = Currency.CurrencyCodeMany ExchangeRateCurrencyPair records → exactly one Currency record
ToCurrency→CurrencyJoin on
ToCurrencyCode = Currency.CurrencyCodeMany ExchangeRateCurrencyPair records → exactly one Currency record
Get this data out
Tables are not exposed directly. These public entities read from ExchangeRateCurrencyPair; use one of them in Power BI, Power Platform or a data management project.
ExchangeRateCurrencyPairEntity· 4 fields from this tableExchangeRateCurrencyPairBiEntity· 7 fields from this tableExchangeRateCDSEntity· 3 fields from this tableExchangeRateEntity· 4 fields from this tableExchangeRateNonISOEntity· 4 fields from this table
Need help with ExchangeRateCurrencyPair in a report, an integration or a migration? Talk to Dr Dynamics.