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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyFromCurrency being converted from.String (3)
CurrencyCode
YesCurrency.CurrencyCodeExchangeRateCurrencyPairCalculationRulesEntity
CurrencyToCurrency being converted to.String (3)
CurrencyCode
YesCurrency.CurrencyCodeExchangeRateCurrencyPairCalculationRulesEntity
CurrencyTriangulationCurrency used as the middle step when converting between the pair.String (3)
CurrencyCode
YesCurrency.CurrencyCodeExchangeRateCurrencyPairCalculationRulesEntity
DataAreaCompany that the rule is limited to.String
SelectableDataArea
NoExchangeRateCurrencyPairCalculationRulesEntity
DataAreaTableAllWhether the rule is valid for all companies or a selected table of them.Enum
TableAll (enum)
NoExchangeRateCurrencyPairCalculationRulesEntity
ExchangeRateTypeExchange rate type the rule applies to.Int64
ExchangeRateTypeRecId
NoExchangeRateType.RecIdExchangeRateCurrencyPairCalculationRulesEntity
ExchangeRateTypeTableAllWhether the rule is valid for all exchange rate types or a selected table of them.Enum
TableAll (enum)
NoExchangeRateCurrencyPairCalculationRulesEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

Each relation joins ExchangeRateCurrencyPairCalculationRules to another table on the fields shown.

  • CurrencyFrom → Currency

    Join on CurrencyFrom = Currency.CurrencyCode

    Many ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record

  • CurrencyTo → Currency

    Join on CurrencyTo = Currency.CurrencyCode

    Many ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record

  • CurrencyTriangulation → Currency

    Join on CurrencyTriangulation = Currency.CurrencyCode

    Many ExchangeRateCurrencyPairCalculationRules records → exactly one Currency record

  • DataArea → DataArea

    Join on DataArea = DataArea.id

    Many ExchangeRateCurrencyPairCalculationRules records → zero or one DataArea record

  • ExchangeRateType → ExchangeRateType

    Join on ExchangeRateType = ExchangeRateType.RecId

    Many 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.

Need help with ExchangeRateCurrencyPairCalculationRules in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk