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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CashAdvanceNumberUnique number of the cash advance request.String (20)
TrvCashAdvanceNumber
YesTrvCashAdvanceEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 6 more
AccountTypeType of account used for the advance, such as ledger, vendor or bank.Enum
LedgerJournalACType (enum)
NoTrvCashAdvanceEntity
AdvanceLedgerDimensionMain account for the advance. Points to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTrvCashAdvanceEntity
BalanceBalance amount in the transaction currency.Real
AmountCur
NoTrvCashAdvanceEntity
BalanceMSTAmount in the company currency.Real
AmountMST
NoTrvCashAdvanceEntity
BalanceReturnedAmount in the transaction currency.low confidenceReal
AmountCur
NoTrvCashAdvanceEntity
CashAdvanceStatusStage of the request: draft, submitted, in review, approved, returned or paid.Enum
TrvWorkflowCashAdvanceStatus (enum)
NoTrvCashAdvanceEntity
CurrencyCodeCurrency of the request. Points to the currency.String (3)
CurrencyCode
NoCurrency.CurrencyCodeTrvCashAdvanceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoTrvCashAdvanceEntity
DefaultDimensionPoints to the set of financial dimension values for the request.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdTrvCashAdvanceEntity
DestinationTravel location linked to the request. Points to the travel locations.String (255)
TrvDestination
NoTrvDestinations.DestinationTrvCashAdvanceEntity
ExchRateExchange rate used for the request.Real
ExchRate
NoTrvCashAdvanceEntity
IsExchRateAdjustmentEnabledYes/No marker tied to the exchange rate adjustment feature on this request.Enum
NoYes (enum)
NoNone
NotesFree-text note on the request.String (-1)
Notes
NoTrvCashAdvanceEntity
PaidAmountCurAmount paid, in the transaction currency.Real
AmountCur
NoTrvCashAdvanceEntity
PaidAmountMSTAmount paid, in the company currency.Real
AmountMST
NoTrvCashAdvanceEntity
PaidDateDate the advance was paid.Date
TrvPaidDate
NoTrvCashAdvanceEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayingWorkerThe worker who paid the advance. Points to a worker.Int64
TrvHcmWorkerRecId
NoHcmWorker.RecIdTrvCashAdvanceEntity
PurposeReason for the advance. Points to the expense purposes.String (60)
TrvTravelTxtEDT
NoTrvTravelTxt.TxtTrvCashAdvanceEntity
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
RequestAmountMSTRequested amount in the company currency.Real
AmountMST
NoTrvCashAdvanceEntity
RequestedAmountCurRequested amount in the transaction currency.Real
TrvTransactionCurrencyAmount
YesTrvCashAdvanceEntity
RequestedDateDate the advance was requested.Date
TrvRequestedDate
NoTrvCashAdvanceEntity
RequestingWorkerThe worker who requested the advance. Points to a worker.Int64
TrvHcmWorkerRecId
YesHcmWorker.RecIdTrvCashAdvanceEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupSales tax group for the request.String
SysGroup
NoTrvCashAdvanceEntity
TaxItemGroupItem sales tax group for the request.String
SysGroup
NoTrvCashAdvanceEntity
TransactionDateTransaction date of the request.Date
TrvDateStd
NoTrvCashAdvanceEntity

Indexes (6)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TrvCashAdvance records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many TrvCashAdvance records → zero or one DimensionAttributeValueSet record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on AdvanceLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TrvCashAdvance records → zero or one DimensionAttributeValueCombination record

  • Purpose → TrvTravelTxt

    Join on Purpose = TrvTravelTxt.Txt

    Many TrvCashAdvance records → zero or one TrvTravelTxt record

  • TrvDestinations → TrvDestinations

    Join on Destination = TrvDestinations.Destination

    Many TrvCashAdvance records → zero or one TrvDestinations record

  • TrvPayingHcmWorker → HcmWorker

    Join on PayingWorker = HcmWorker.RecId

    Many TrvCashAdvance records → zero or one HcmWorker record

  • TrvRequestingHcmWorker → HcmWorker

    Join on RequestingWorker = HcmWorker.RecId

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

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

Email sales@drdynamics.co.uk