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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BankAccountIdBank account that was revalued.String
CompanyBankAccountId
YesBankAccountTable.AccountIDNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
ExchangeRateDateDate of the exchange rate used.Date
TransDate
NoNone
ExchangeRateTypeRecord ID of the exchange rate type used.Int64
ExchangeRateTypeRecId
NoNone
IsResetShows whether the record was cleaned up.low confidenceEnum
NoYes (enum)
NoNone
IsRunAfterEnhancementFeatureEnabledFlag for whether the run took place after an enhancement feature was turned on.low confidenceEnum
NoYes (enum)
NoNone
LedgerPoints to the ledger used.Int64
RefRecId
NoLedger.RecIdNone
LegalEntityLegal entity (company) that the revaluation belongs to.String
LegalEntityDataAreaId
YesCompanyInfo.DataAreaNone
OrigBankCurrencyRevalHistorySystem record ID of the original revaluation record.Int64
RefRecId
NoNone
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
ReportingCurrencyExchangeRateTypeRecord ID of the exchange rate type used for the reporting currency.Int64
ExchangeRateTypeRecId
NoNone
ReversalShows whether the record is a reversal.Enum
LedgerExchAdjReversal
NoYes (enum)
NoNone
SubledgerVoucherVoucher number of the revaluation.String (20)
Voucher
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the revaluation.Date
TransDate
YesNone

Indexes (3)

Relations (3)

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

  • CompanyInfo → CompanyInfo

    Join on LegalEntity = CompanyInfo.DataArea

    Cardinality not set in the metadata.

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

    Many BankCurrencyRevalHistory records → zero or one Ledger record

  • BankAccountTable → BankAccountTable

    Join on BankAccountId = BankAccountTable.AccountID

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

Email sales@drdynamics.co.uk