Table

TrvValidatePayment

Valid payment methods

Lists which payment methods are valid for each expense category. The key is the pair of expense category and payment method. Each row links to an expense category and a payment method.

Table name
TrvValidatePayment
Module
Expense
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
Trv
Primary index
CostPayIdx
Replacement key
None
Key fields
CostType, PayMethod
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostTypeExpense category. It points to the expense category record and is part of the key.String (30)
TrvCostTypeEDT
YesTrvCostType.CostTypeTrvValidatePaymentEntity
PayMethodPayment method allowed for the category. It points to the payment method record and is part of the key.String
TrvPayMethodEDT
YesTrvPayMethod.PayMethodTrvValidatePaymentEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • TrvPayType → TrvPayMethod

    Join on PayMethod = TrvPayMethod.PayMethod

    Many TrvValidatePayment records → exactly one TrvPayMethod record

  • TrvCostType → TrvCostType

    Join on CostType = TrvCostType.CostType

    Many TrvValidatePayment records → exactly one TrvCostType record

Get this data out

Tables are not exposed directly. These public entities read from TrvValidatePayment; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk