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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CheckNumCheck number used for the payment.String (20)
BankChequeNum
NoTrvExpPaymentDetailsEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceIdInvoice ID of the expense.String (20)
TrvExpInvoiceId
YesTrvExpPaymentDetailsEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentDateDate of the payment.Date
TrvDateStd
NoTrvExpPaymentDetailsEntity
PaymentStatusStage of the payment, such as not started or completed.Enum
TrvPaymentStatus (enum)
NoTrvExpPaymentDetailsEntity
PaymentVoucherVoucher that identifies the payment.String (200)
PaymId
NoTrvExpPaymentDetailsEntity
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
SentDataToExternalDateDate when posting data was sent to an external system.Date
TrvDateStd
NoTrvExpPaymentDetailsEntity
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
TrvExpTableRecord ID of the linked expense report.Int64
RefRecId
YesTrvExpTable.RecIdTrvExpPaymentDetailsEntity
TrvExpTransRecord ID of the linked expense line.Int64
RefRecId
YesTrvExpTrans.RecIdTrvExpPaymentDetailsEntity

Indexes (2)

Relations (2)

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

  • TrvExpTable → TrvExpTable

    Join on TrvExpTable = TrvExpTable.RecId

    Many TrvExpPaymentDetails records → exactly one TrvExpTable record

  • TrvExpTrans → TrvExpTrans

    Join on TrvExpTrans = TrvExpTrans.RecId

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

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

Email sales@drdynamics.co.uk