Table
BankCurrencyRevalHistory
Foreign currency revaluation
Keeps the history of foreign currency revaluation runs for bank accounts. Each record has a legal entity, bank account, revaluation date, ledger, voucher and exchange rate details. It also flags reversals and clean-up. It has no defined key.
- Table name
BankCurrencyRevalHistory- Module
Bank- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Bank- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankAccountIdBank account that was revalued. | StringCompanyBankAccountId | Yes | BankAccountTable.AccountID | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
ExchangeRateDateDate of the exchange rate used. | DateTransDate | No | None | |
ExchangeRateTypeRecord ID of the exchange rate type used. | Int64ExchangeRateTypeRecId | No | None | |
IsResetShows whether the record was cleaned up.low confidence | EnumNoYes (enum) | No | None | |
IsRunAfterEnhancementFeatureEnabledFlag for whether the run took place after an enhancement feature was turned on.low confidence | EnumNoYes (enum) | No | None | |
LedgerPoints to the ledger used. | Int64RefRecId | No | Ledger.RecId | None |
LegalEntityLegal entity (company) that the revaluation belongs to. | StringLegalEntityDataAreaId | Yes | CompanyInfo.DataArea | None |
OrigBankCurrencyRevalHistorySystem record ID of the original revaluation record. | Int64RefRecId | No | None | |
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 | |
ReportingCurrencyExchangeRateTypeRecord ID of the exchange rate type used for the reporting currency. | Int64ExchangeRateTypeRecId | No | None | |
ReversalShows whether the record is a reversal. | EnumLedgerExchAdjReversalNoYes (enum) | No | None | |
SubledgerVoucherVoucher number of the revaluation. | String (20)Voucher | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the revaluation. | DateTransDate | Yes | None |
Indexes (3)
VoucherIdxNot unique.
LegalEntityAccountTransDateIdxLegalEntity,BankAccountId,Reversal,TransDateNot unique.
OrigBankCurrencyRevalHistoryReversalIdxOrigBankCurrencyRevalHistory,ReversalNot unique.
Relations (3)
Each relation joins BankCurrencyRevalHistory to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.DataAreaCardinality not set in the metadata.
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany BankCurrencyRevalHistory records → zero or one Ledger record
BankAccountTable→BankAccountTableJoin on
BankAccountId = BankAccountTable.AccountIDExactly one BankCurrencyRevalHistory record → zero or one BankAccountTable record
Get this data out
No public entity reads from BankCurrencyRevalHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with BankCurrencyRevalHistory in a report, an integration or a migration? Talk to Dr Dynamics.