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· rootTrvHcmWorker(tableHcmWorker) · InnerJoin toTrvPartyEmployeeRelationship· read-onlyAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toTrvPartyEmployeeRelationship· read-only
Fields (6)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountTypeType of account used for the employee, such as ledger, vendor or bank. | Enum
| No | Yes | TrvPartyEmployeeRelationship.AccountType | |
AccountAccount and dimension combination for the employee. It points to a dimension combination record. | Int64DimensionDynamicDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | TrvPartyEmployeeRelationship.LedgerDimension |
AccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
PerDiemPer diem amount set for the employee. | RealTrvAllowance | No | Yes | TrvPartyEmployeeRelationship.PerDiem | |
EmployeeEmployee the record belongs to. It points to a worker record. | Int64TrvHcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | TrvPartyEmployeeRelationship.Worker |
TrvHcmWorker_PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.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.
Account→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many TrvPartyEmployeeRelationship records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Employee→HcmWorker.RecId(key of HcmWorker)Zero or one TrvPartyEmployeeRelationship record → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with TrvPartyEmployeeRelationshipEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.