Table
TrvCashAdvance
Cash advance request
Holds cash advance requests made by workers. Each request is identified by a cash advance number. It stores amounts, currency, status, dates, the requesting and paying workers and the purpose and location.
- Table name
TrvCashAdvance- Module
Expense- Table group
Worksheet- Table type
Regular- Data per company
Yes- Configuration key
Trv- Primary index
CashAdvanceNumber- Replacement key
CashAdvanceNumber- Key fields
CashAdvanceNumber- Model
Foundation
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashAdvanceNumberUnique number of the cash advance request. | String (20)TrvCashAdvanceNumber | Yes | TrvCashAdvanceEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 6 more | |
AccountTypeType of account used for the advance, such as ledger, vendor or bank. | EnumLedgerJournalACType (enum) | No | TrvCashAdvanceEntity | |
AdvanceLedgerDimensionMain account for the advance. Points to a dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TrvCashAdvanceEntity |
BalanceBalance amount in the transaction currency. | RealAmountCur | No | TrvCashAdvanceEntity | |
BalanceMSTAmount in the company currency. | RealAmountMST | No | TrvCashAdvanceEntity | |
BalanceReturnedAmount in the transaction currency.low confidence | RealAmountCur | No | TrvCashAdvanceEntity | |
CashAdvanceStatusStage of the request: draft, submitted, in review, approved, returned or paid. | EnumTrvWorkflowCashAdvanceStatus (enum) | No | TrvCashAdvanceEntity | |
CurrencyCodeCurrency of the request. Points to the currency. | String (3)CurrencyCode | No | Currency.CurrencyCode | TrvCashAdvanceEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | TrvCashAdvanceEntity | |
DefaultDimensionPoints to the set of financial dimension values for the request. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | TrvCashAdvanceEntity |
DestinationTravel location linked to the request. Points to the travel locations. | String (255)TrvDestination | No | TrvDestinations.Destination | TrvCashAdvanceEntity |
ExchRateExchange rate used for the request. | RealExchRate | No | TrvCashAdvanceEntity | |
IsExchRateAdjustmentEnabledYes/No marker tied to the exchange rate adjustment feature on this request. | EnumNoYes (enum) | No | None | |
NotesFree-text note on the request. | String (-1)Notes | No | TrvCashAdvanceEntity | |
PaidAmountCurAmount paid, in the transaction currency. | RealAmountCur | No | TrvCashAdvanceEntity | |
PaidAmountMSTAmount paid, in the company currency. | RealAmountMST | No | TrvCashAdvanceEntity | |
PaidDateDate the advance was paid. | DateTrvPaidDate | No | TrvCashAdvanceEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayingWorkerThe worker who paid the advance. Points to a worker. | Int64TrvHcmWorkerRecId | No | HcmWorker.RecId | TrvCashAdvanceEntity |
PurposeReason for the advance. Points to the expense purposes. | String (60)TrvTravelTxtEDT | No | TrvTravelTxt.Txt | TrvCashAdvanceEntity |
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 | |
RequestAmountMSTRequested amount in the company currency. | RealAmountMST | No | TrvCashAdvanceEntity | |
RequestedAmountCurRequested amount in the transaction currency. | RealTrvTransactionCurrencyAmount | Yes | TrvCashAdvanceEntity | |
RequestedDateDate the advance was requested. | DateTrvRequestedDate | No | TrvCashAdvanceEntity | |
RequestingWorkerThe worker who requested the advance. Points to a worker. | Int64TrvHcmWorkerRecId | Yes | HcmWorker.RecId | TrvCashAdvanceEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group for the request. | StringSysGroup | No | TrvCashAdvanceEntity | |
TaxItemGroupItem sales tax group for the request. | StringSysGroup | No | TrvCashAdvanceEntity | |
TransactionDateTransaction date of the request. | DateTrvDateStd | No | TrvCashAdvanceEntity |
Indexes (6)
CashAdvanceNumberPrimary indexReplacement keyUnique, alternate key.
EmployeeRequestedDateRequestedDate,RequestingWorker,CashAdvanceStatus,CurrencyCodeNot unique.
DefaultDimensionIdxNot unique.
LedgerDimensionIdxNot unique.
TrvRequestingWorkerIdxNot unique.
TrvPayingWorkerIdxNot unique.
Relations (7)
Each relation joins TrvCashAdvance to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TrvCashAdvance records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TrvCashAdvance records → zero or one DimensionAttributeValueSet record
LedgerDimension→DimensionAttributeValueCombinationJoin on
AdvanceLedgerDimension = DimensionAttributeValueCombination.RecIdMany TrvCashAdvance records → zero or one DimensionAttributeValueCombination record
Purpose→TrvTravelTxtJoin on
Purpose = TrvTravelTxt.TxtMany TrvCashAdvance records → zero or one TrvTravelTxt record
TrvDestinations→TrvDestinationsJoin on
Destination = TrvDestinations.DestinationMany TrvCashAdvance records → zero or one TrvDestinations record
TrvPayingHcmWorker→HcmWorkerJoin on
PayingWorker = HcmWorker.RecIdMany TrvCashAdvance records → zero or one HcmWorker record
TrvRequestingHcmWorker→HcmWorkerJoin on
RequestingWorker = HcmWorker.RecIdMany TrvCashAdvance records → exactly one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from TrvCashAdvance; use one of them in Power BI, Power Platform or a data management project.
TrvCashAdvanceEntity· 25 fields from this tableTrvExpTransMobileV2Entity· 1 field from this tableTrvCopilotAutomationExpenseEntity· 1 field from this tableTrvExpMobileExpenseEntity· 1 field from this tableTrvExpMobileExpenseLineAttachedToReportEntity· 1 field from this tableTrvExpMobileLineApprovalEntity· 1 field from this tableTrvExpTransMobileEntity· 1 field from this tableTrvExpTransEntity· 1 field from this tableTrvExpenseAgentExpenseEntity· 1 field from this table
Need help with TrvCashAdvance in a report, an integration or a migration? Talk to Dr Dynamics.