Table
ExchangeRateCurrencyPairCalculationRules
Exchange rate calculation rules for currency pairs
Calculation rule for a currency pair. It names the from and to currencies and a triangulation currency. It also holds the exchange rate type and whether the rule applies to all or to a selected table of values.
- Table name
ExchangeRateCurrencyPairCalculationRules- Module
Currencies and exchange rates- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Currency
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyFromCurrency being converted from. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPairCalculationRulesEntity |
CurrencyToCurrency being converted to. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPairCalculationRulesEntity |
CurrencyTriangulationCurrency used as the middle step when converting between the pair. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | ExchangeRateCurrencyPairCalculationRulesEntity |
DataAreaCompany that the rule is limited to. | StringSelectableDataArea | No | ExchangeRateCurrencyPairCalculationRulesEntity | |
DataAreaTableAllWhether the rule is valid for all companies or a selected table of them. | EnumTableAll (enum) | No | ExchangeRateCurrencyPairCalculationRulesEntity | |
ExchangeRateTypeExchange rate type the rule applies to. | Int64ExchangeRateTypeRecId | No | ExchangeRateType.RecId | ExchangeRateCurrencyPairCalculationRulesEntity |
ExchangeRateTypeTableAllWhether the rule is valid for all exchange rate types or a selected table of them. | EnumTableAll (enum) | No | ExchangeRateCurrencyPairCalculationRulesEntity | |
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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
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)
CalcRuleIdxExchangeRateType,DataArea,CurrencyFrom,CurrencyToUnique.
Relations (5)
Each relation joins ExchangeRateCurrencyPairCalculationRules to another table on the fields shown.
CurrencyFrom→CurrencyJoin on
CurrencyFrom = Currency.CurrencyCodeMany ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record
CurrencyTo→CurrencyJoin on
CurrencyTo = Currency.CurrencyCodeMany ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record
CurrencyTriangulation→CurrencyJoin on
CurrencyTriangulation = Currency.CurrencyCodeMany ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record
DataArea→DataAreaJoin on
DataArea = DataArea.idMany ExchangeRateCurrencyPairCalculationRules records → zero or one DataArea record
ExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.RecIdMany ExchangeRateCurrencyPairCalculationRules records → exactly one ExchangeRateType record
Get this data out
Tables are not exposed directly. These public entities read from ExchangeRateCurrencyPairCalculationRules; use one of them in Power BI, Power Platform or a data management project.
ExchangeRateCurrencyPairCalculationRulesEntity· 7 fields from this table
Need help with ExchangeRateCurrencyPairCalculationRules in a report, an integration or a migration? Talk to Dr Dynamics.