Table

TrvPayMethod

Payment method

Lists payment methods for expenses. The key is the payment method code. Each one records who owns the cost, the offset account type and the offset account, and links to a ledger dimension combination.

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

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PayMethodCode that identifies the payment method.String
TrvPayMethodEDT
YesTrvPayMethodEntity
AutomaticPaymentMarks a payment method that is used for imports only.Enum
NoYesId
NoYes (enum)
NoTrvPayMethodEntity
CostOwnerWho bears the expense: the company, the employee, or another customer.Enum
TrvCostownerEDT
TrvCostOwner (enum)
NoTrvPayMethodEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OffsetLedgerDimensionOffset account and dimensions for this payment method. It points to a dimension combination record.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdTrvPayMethodEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayedByTxtShort description of the payment method.String (30)
TrvPayedByTxt
NoTrvPayMethodEntity
PostMethodType of offset account: none, worker, ledger, bank or vendor.Enum
TrvPostmethodEDT
TrvPostMethod (enum)
YesTrvPayMethodEntity
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
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

Indexes (2)

Relations (1)

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

  • OffsetfLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TrvPayMethod records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk