Data entity
TrvExpPaymentDetailsEntity
Payment details for expenses, keyed by invoice ID, expense report number and expense transaction number. It holds the check number, payment date, voucher, payment status and the date data was sent to an external system. It links to expense reports and expense lines.
- Entity name
TrvExpPaymentDetailsEntity- Public entity name
ExpensePaymentDetails- OData collection
ExpensePaymentDetails- Category
Transaction- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
InvoiceId, ExpNumber, ExpTransNumber- Staging table
TrvExpPaymentDetailsStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpensePaymentDetails- Dataverse virtual table
mserp_trvexppaymentdetailsentity. 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
TrvExpPaymentDetails· rootTrvExpTable· InnerJoin toTrvExpPaymentDetails· read-onlyTrvExpTrans· InnerJoin toTrvExpPaymentDetails· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
InvoiceIdInvoice ID of the expense. | String (20)TrvExpInvoiceId | Yes | Yes | TrvExpPaymentDetails.InvoiceId | |
TrvExpTableRecord ID of the linked expense report. | Int64RefRecId | Yes | No (private) | TrvExpTable.RecId | TrvExpPaymentDetails.TrvExpTable |
TrvExpTransRecord ID of the linked expense line. | Int64RefRecId | Yes | No (private) | TrvExpTrans.RecId | TrvExpPaymentDetails.TrvExpTrans |
CheckNumCheck number used for the payment. | String (20)BankChequeNum | No | Yes | TrvExpPaymentDetails.CheckNum | |
PaymentDateDate of the payment. | DateTrvDateStd | No | Yes | TrvExpPaymentDetails.PaymentDate | |
PaymentVoucherVoucher that identifies the payment. | String (200)PaymId | No | Yes | TrvExpPaymentDetails.PaymentVoucher | |
PaymentStatusStage of the payment, such as not started or completed. | Enum
| No | Yes | TrvExpPaymentDetails.PaymentStatus | |
SentDataToExternalDateDate when posting data was sent to an external system. | DateTrvDateStd | No | Yes | TrvExpPaymentDetails.SentDataToExternalDate | |
ExpNumberNumber that identifies the expense report. | String (20)TrvExpNumber | Yes | Yes | TrvExpTable.ExpNumber | |
TrvExpTable_LegalEntityLegal entity the report belongs to. | Int64LegalEntity | No | No (private) | CompanyInfo.RecId | TrvExpTable.LegalEntity |
ExpTransNumberNumber that identifies the expense line. | String (20)TrvExpTransNumber | Yes | Yes | TrvExpTrans.ExpTransNumber |
Foreign keys (3)
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.
TrvExpTable→TrvExpTable.RecId(key of TrvExpTable)Many TrvExpPaymentDetails records → exactly one TrvExpTable record
TrvExpTable details: see TrvExpMobileReportApprovalEntity, TrvCopilotAutomationReportEntity, TrvExpMobileReportEntity
TrvExpTrans→TrvExpTrans.RecId(key of TrvExpTrans)Many TrvExpPaymentDetails records → zero or one TrvExpTrans record
TrvExpTrans details: see TrvCopilotAutomationExpenseEntity, TrvExpMobileExpenseEntity, TrvExpMobileExpenseLineAttachedToReportEntity
TrvExpTable_LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many TrvExpTable records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with TrvExpPaymentDetailsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.