Table
TrvExpPaymentDetails
Expense payment details
Holds payment details for expense reports and expense lines. It includes invoice ID, check number, payment voucher, payment date and payment status. It links to an expense report and an expense line by record ID.
- Table name
TrvExpPaymentDetails- Module
Expense- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Trv- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CheckNumCheck number used for the payment. | String (20)BankChequeNum | No | TrvExpPaymentDetailsEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceIdInvoice ID of the expense. | String (20)TrvExpInvoiceId | Yes | TrvExpPaymentDetailsEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentDateDate of the payment. | DateTrvDateStd | No | TrvExpPaymentDetailsEntity | |
PaymentStatusStage of the payment, such as not started or completed. | EnumTrvPaymentStatus (enum) | No | TrvExpPaymentDetailsEntity | |
PaymentVoucherVoucher that identifies the payment. | String (200)PaymId | No | TrvExpPaymentDetailsEntity | |
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 | |
SentDataToExternalDateDate when posting data was sent to an external system. | DateTrvDateStd | No | TrvExpPaymentDetailsEntity | |
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 | |
TrvExpTableRecord ID of the linked expense report. | Int64RefRecId | Yes | TrvExpTable.RecId | TrvExpPaymentDetailsEntity |
TrvExpTransRecord ID of the linked expense line. | Int64RefRecId | Yes | TrvExpTrans.RecId | TrvExpPaymentDetailsEntity |
Indexes (2)
TrvExpTransIdxNot unique.
InvoiceIdxInvoiceId,TrvExpTable,TrvExpTrans,PaymentVoucherUnique, alternate key.
Relations (2)
Each relation joins TrvExpPaymentDetails to another table on the fields shown.
TrvExpTable→TrvExpTableJoin on
TrvExpTable = TrvExpTable.RecIdMany TrvExpPaymentDetails records → exactly one TrvExpTable record
TrvExpTrans→TrvExpTransJoin on
TrvExpTrans = TrvExpTrans.RecIdMany TrvExpPaymentDetails records → zero or one TrvExpTrans record
Get this data out
Tables are not exposed directly. These public entities read from TrvExpPaymentDetails; use one of them in Power BI, Power Platform or a data management project.
TrvExpPaymentDetailsEntity· 8 fields from this table
Need help with TrvExpPaymentDetails in a report, an integration or a migration? Talk to Dr Dynamics.