Data entity

TrvCashAdvanceEntity

Read-only list of cash advance requests, keyed by cash advance number. It holds status, requested and paid amounts, currency, exchange rate, purpose and dates. It links to the worker and to dimension values.

Entity name
TrvCashAdvanceEntity
Public entity name
ExpenseCashAdvance
OData collection
ExpenseCashAdvances
Category
Not set
Module
Travel and expense
Read-only
Yes
Data management enabled
Yes
Configuration key
TRVAdvance
Keys
CashAdvanceNumber
Staging table
TrvCashAdvanceStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ExpenseCashAdvances
Dataverse virtual table
mserp_trvcashadvanceentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • TrvCashAdvance · root
  • TrvPayingHcmWorker (table HcmWorker) · OuterJoin to TrvCashAdvance · read-only
  • TrvRequestingHcmWorker (table HcmWorker) · InnerJoin to TrvCashAdvance · read-only
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to TrvCashAdvance · read-only
  • MainAccountDAVC (table DimensionCombinationEntity) · OuterJoin to TrvCashAdvance · read-only

Fields (29)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountTypeType of account used for the advance, such as ledger, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesTrvCashAdvance.AccountType
MainAccountMain account for the advance. Points to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTrvCashAdvance.AdvanceLedgerDimension
BalanceBalance amount in the transaction currency.Real
AmountCur
NoYesTrvCashAdvance.Balance
AmountAmount in the company currency.Real
AmountMST
NoYesTrvCashAdvance.BalanceMST
AmountInTransactionCurrencyAmount in the transaction currency.low confidenceReal
AmountCur
NoYesTrvCashAdvance.BalanceReturned
CashAdvanceNumberUnique number of the cash advance request.String (20)
TrvCashAdvanceNumber
YesYesTrvCashAdvance.CashAdvanceNumber
CashAdvanceStatusStage of the request: draft, submitted, in review, approved, returned or paid.Enum
TrvWorkflowCashAdvanceStatus
  • Created 0
  • Submitted 1
  • Pending 2
  • Approved 3
  • Returned 4
  • Paid 7
NoYesTrvCashAdvance.CashAdvanceStatus
CurrencyCurrency of the request. Points to the currency.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeTrvCashAdvance.CurrencyCode
DimensionPoints to the set of financial dimension values for the request.Int64
LedgerDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdTrvCashAdvance.DefaultDimension
LocationTravel location linked to the request. Points to the travel locations.String (255)
TrvDestination
NoYesTrvDestinations.DestinationTrvCashAdvance.Destination
ExchangeRateExchange rate used for the request.Real
ExchRate
NoYesTrvCashAdvance.ExchRate
NoteFree-text note on the request.String (-1)
Notes
NoYesTrvCashAdvance.Notes
PaidAmountAmount paid, in the transaction currency.Real
AmountCur
NoYesTrvCashAdvance.PaidAmountCur
PaidAmountMSTAmount paid, in the company currency.Real
AmountMST
NoYesTrvCashAdvance.PaidAmountMST
PaidDateDate the advance was paid.Date
TrvPaidDate
NoYesTrvCashAdvance.PaidDate
PayingWorkerThe worker who paid the advance. Points to a worker.Int64
TrvHcmWorkerRecId
NoNo (private)HcmWorker.RecIdTrvCashAdvance.PayingWorker
PurposeReason for the advance. Points to the expense purposes.String (60)
TrvTravelTxtEDT
NoYesTrvTravelTxt.TxtTrvCashAdvance.Purpose
RequestAmountMSTRequested amount in the company currency.Real
AmountMST
NoYesTrvCashAdvance.RequestAmountMST
RequestedAmountRequested amount in the transaction currency.Real
TrvTransactionCurrencyAmount
YesYesTrvCashAdvance.RequestedAmountCur
RequestedDateDate the advance was requested.Date
TrvRequestedDate
NoYesTrvCashAdvance.RequestedDate
EmployeeThe worker who requested the advance. Points to a worker.Int64
TrvHcmWorkerRecId
YesNo (private)HcmWorker.RecIdTrvCashAdvance.RequestingWorker
SalesTaxGroupSales tax group for the request.String
SysGroup
NoYesTrvCashAdvance.TaxGroup
ItemSalesTaxGroupItem sales tax group for the request.String
SysGroup
NoYesTrvCashAdvance.TaxItemGroup
TransactionDateTransaction date of the request.Date
TrvDateStd
NoYesTrvCashAdvance.TransactionDate
CompanyThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesTrvCashAdvance.DataAreaId
PayingWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
RequestingWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
MainAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

Foreign keys (7)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with TrvCashAdvanceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk