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· rootTrvPayingHcmWorker(tableHcmWorker) · OuterJoin toTrvCashAdvance· read-onlyTrvRequestingHcmWorker(tableHcmWorker) · InnerJoin toTrvCashAdvance· read-onlyDimensionDAVS(tableDimensionSetEntity) · OuterJoin toTrvCashAdvance· read-onlyMainAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toTrvCashAdvance· read-only
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountTypeType of account used for the advance, such as ledger, vendor or bank. | Enum
| No | Yes | TrvCashAdvance.AccountType | |
MainAccountMain account for the advance. Points to a dimension combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TrvCashAdvance.AdvanceLedgerDimension |
BalanceBalance amount in the transaction currency. | RealAmountCur | No | Yes | TrvCashAdvance.Balance | |
AmountAmount in the company currency. | RealAmountMST | No | Yes | TrvCashAdvance.BalanceMST | |
AmountInTransactionCurrencyAmount in the transaction currency.low confidence | RealAmountCur | No | Yes | TrvCashAdvance.BalanceReturned | |
CashAdvanceNumberUnique number of the cash advance request. | String (20)TrvCashAdvanceNumber | Yes | Yes | TrvCashAdvance.CashAdvanceNumber | |
CashAdvanceStatusStage of the request: draft, submitted, in review, approved, returned or paid. | Enum
| No | Yes | TrvCashAdvance.CashAdvanceStatus | |
CurrencyCurrency of the request. Points to the currency. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | TrvCashAdvance.CurrencyCode |
DimensionPoints to the set of financial dimension values for the request. | Int64LedgerDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | TrvCashAdvance.DefaultDimension |
LocationTravel location linked to the request. Points to the travel locations. | String (255)TrvDestination | No | Yes | TrvDestinations.Destination | TrvCashAdvance.Destination |
ExchangeRateExchange rate used for the request. | RealExchRate | No | Yes | TrvCashAdvance.ExchRate | |
NoteFree-text note on the request. | String (-1)Notes | No | Yes | TrvCashAdvance.Notes | |
PaidAmountAmount paid, in the transaction currency. | RealAmountCur | No | Yes | TrvCashAdvance.PaidAmountCur | |
PaidAmountMSTAmount paid, in the company currency. | RealAmountMST | No | Yes | TrvCashAdvance.PaidAmountMST | |
PaidDateDate the advance was paid. | DateTrvPaidDate | No | Yes | TrvCashAdvance.PaidDate | |
PayingWorkerThe worker who paid the advance. Points to a worker. | Int64TrvHcmWorkerRecId | No | No (private) | HcmWorker.RecId | TrvCashAdvance.PayingWorker |
PurposeReason for the advance. Points to the expense purposes. | String (60)TrvTravelTxtEDT | No | Yes | TrvTravelTxt.Txt | TrvCashAdvance.Purpose |
RequestAmountMSTRequested amount in the company currency. | RealAmountMST | No | Yes | TrvCashAdvance.RequestAmountMST | |
RequestedAmountRequested amount in the transaction currency. | RealTrvTransactionCurrencyAmount | Yes | Yes | TrvCashAdvance.RequestedAmountCur | |
RequestedDateDate the advance was requested. | DateTrvRequestedDate | No | Yes | TrvCashAdvance.RequestedDate | |
EmployeeThe worker who requested the advance. Points to a worker. | Int64TrvHcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | TrvCashAdvance.RequestingWorker |
SalesTaxGroupSales tax group for the request. | StringSysGroup | No | Yes | TrvCashAdvance.TaxGroup | |
ItemSalesTaxGroupItem sales tax group for the request. | StringSysGroup | No | Yes | TrvCashAdvance.TaxItemGroup | |
TransactionDateTransaction date of the request. | DateTrvDateStd | No | Yes | TrvCashAdvance.TransactionDate | |
CompanyThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | TrvCashAdvance.DataAreaId | |
PayingWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
RequestingWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
DimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
MainAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
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.
MainAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TrvCashAdvance records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Currency→Currency.CurrencyCode(key of Currency)Many TrvCashAdvance records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
Dimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many TrvCashAdvance records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
Location→TrvDestinations.Destination(key of TrvDestinations)Many TrvCashAdvance records → zero or one TrvDestinations record
TrvDestinations details: see TrvTravelLocationEntity
PayingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvCashAdvance records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Purpose→TrvTravelTxt.Txt(key of TrvTravelTxt)Many TrvCashAdvance records → zero or one TrvTravelTxt record
TrvTravelTxt details: see TrvExpenseReportPurposeEntity, DimAttributeTrvTravelTxtEntity
Employee→HcmWorker.RecId(key of HcmWorker)Many TrvCashAdvance records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with TrvCashAdvanceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.