Data entity

TrvPartyEmployeeRelationshipEntity

Expense settings for each employee, keyed by personnel number. It holds an account type, a dimension combination and a per diem value. It links to the worker.

Entity name
TrvPartyEmployeeRelationshipEntity
Public entity name
PartyEmployeeRelationship
OData collection
PartyEmployeeRelationships
Category
Reference
Module
Travel and expense
Read-only
No
Data management enabled
Yes
Configuration key
Trv
Keys
TrvHcmWorker_PersonnelNumber
Staging table
TrvPartyEmployeeRelationshipStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PartyEmployeeRelationships
Dataverse virtual table
mserp_trvpartyemployeerelationshipentity. 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

  • TrvPartyEmployeeRelationship · root
  • TrvHcmWorker (table HcmWorker) · InnerJoin to TrvPartyEmployeeRelationship · read-only
  • AccountDAVC (table DimensionCombinationEntity) · OuterJoin to TrvPartyEmployeeRelationship · read-only

Fields (6)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountTypeType of account used for the employee, such as ledger, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesTrvPartyEmployeeRelationship.AccountType
AccountAccount and dimension combination for the employee. It points to a dimension combination record.Int64
DimensionDynamicDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdTrvPartyEmployeeRelationship.LedgerDimension
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
PerDiemPer diem amount set for the employee.Real
TrvAllowance
NoYesTrvPartyEmployeeRelationship.PerDiem
EmployeeEmployee the record belongs to. It points to a worker record.Int64
TrvHcmWorkerRecId
YesNo (private)HcmWorker.RecIdTrvPartyEmployeeRelationship.Worker
TrvHcmWorker_PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber

Foreign keys (2)

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.

Need help with TrvPartyEmployeeRelationshipEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk