Table
TrvExpCashAdvanceMapping
Expense Line Cash Advance Mapping
Maps expense lines to cash advance requests. The key is the expense line plus the cash advance. Each row holds an amount in the accounting currency and in the transaction currency.
- Table name
TrvExpCashAdvanceMapping- Module
Expense- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Trv- Primary index
ExpLineCashAdvRecIdx- Replacement key
None- Key fields
ExpLineRecId, CashAdvanceRecId- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExpLineRecIdPoints to the expense line (by system record ID). | Int64RefRecId | Yes | TrvExpTrans.RecId | None |
CashAdvanceRecIdPoints to the cash advance request (by system record ID). | Int64RefRecId | Yes | TrvCashAdvance.RecId | None |
AmountCurThe amount in the transaction currency. | RealTrvTransactionCurrencyAmount | No | None | |
AmountMSTThe amount in the accounting currency. | RealAmountMST | No | None | |
HasExchRateAdjustmentYes/No flag, with no label. It probably shows whether an exchange rate adjustment exists for this mapping.low confidence | EnumNoYes (enum) | 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 (1)
ExpLineCashAdvRecIdxPrimary indexExpLineRecId,CashAdvanceRecIdUnique, alternate key.
Relations (2)
Each relation joins TrvExpCashAdvanceMapping to another table on the fields shown.
ExpLineRecId→TrvExpTransJoin on
ExpLineRecId = TrvExpTrans.RecIdOne or more TrvExpCashAdvanceMapping records → exactly one TrvExpTrans record
CashAdvanceRecId→TrvCashAdvanceJoin on
CashAdvanceRecId = TrvCashAdvance.RecIdOne or more TrvExpCashAdvanceMapping records → exactly one TrvCashAdvance record
Get this data out
No public entity reads from TrvExpCashAdvanceMapping. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvExpCashAdvanceMapping in a report, an integration or a migration? Talk to Dr Dynamics.