Table
TrvExchSetup
Cash advance accounts
Holds the cash advance account for each currency. Each record is keyed by currency code. It gives the account type and the main account used.
- Table name
TrvExchSetup- Module
Expense- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
Trv- Primary index
TrvExchCodeIdx- Replacement key
None- Key fields
ExchangeCode- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExchangeCodeCurrency the setting applies to. Points to the currency table. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | TrvExchSetupEntity |
AccountTypeType of account used, such as ledger, vendor or bank. | EnumLedgerJournalACType (enum) | No | TrvExchSetupEntity | |
AdvanceAccountLedgerDimensionMain account for cash advances in this currency. Points to a dimension combination. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | TrvExchSetupEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
TrvExchCodeIdxPrimary indexUnique, alternate key.
LedgerDimensionIdxNot unique.
Relations (2)
Each relation joins TrvExchSetup to another table on the fields shown.
Currency→CurrencyJoin on
ExchangeCode = Currency.CurrencyCodeExactly one TrvExchSetup record → exactly one Currency record
LedgerDimension→DimensionAttributeValueCombinationJoin on
AdvanceAccountLedgerDimension = DimensionAttributeValueCombination.RecIdMany TrvExchSetup records → zero or one DimensionAttributeValueCombination record
Get this data out
Tables are not exposed directly. These public entities read from TrvExchSetup; use one of them in Power BI, Power Platform or a data management project.
TrvExchSetupEntity· 3 fields from this table
Need help with TrvExchSetup in a report, an integration or a migration? Talk to Dr Dynamics.