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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ExchangeCodeCurrency the setting applies to. Points to the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeTrvExchSetupEntity
AccountTypeType of account used, such as ledger, vendor or bank.Enum
LedgerJournalACType (enum)
NoTrvExchSetupEntity
AdvanceAccountLedgerDimensionMain account for cash advances in this currency. Points to a dimension combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdTrvExchSetupEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • Currency → Currency

    Join on ExchangeCode = Currency.CurrencyCode

    Exactly one TrvExchSetup record → exactly one Currency record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on AdvanceAccountLedgerDimension = DimensionAttributeValueCombination.RecId

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

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

Email sales@drdynamics.co.uk