Data entity
TrvPolicyViolationJustificationEntity
Holds the justifications that employees give for policy violations. Each record is identified by a justification ID and links to a worker through the personnel number. It also shows the type of record that the justification belongs to.
- Entity name
TrvPolicyViolationJustificationEntity- Public entity name
PolicyViolationJustification- OData collection
PolicyViolationJustifications- Category
Not set- Module
Travel and expense- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
JustificationId- Staging table
TrvPolicyViolationJustificationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PolicyViolationJustifications- Dataverse virtual table
mserp_trvpolicyviolationjustificationentity. 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
TrvPolicyViolationJustification· rootTrvHcmWorker(tableHcmWorker) · InnerJoin toTrvPolicyViolationJustification· read-only
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
JustificationIdUnique ID of the justification record. | Guid | No | Yes | TrvPolicyViolationJustification.JustificationId | |
ActionWorkflow action during which the justification was given, such as submit or approve. | Enum
| No | Yes | TrvPolicyViolationJustification.Action | |
JustificationTextText the employee gives to explain the violation. | String (1000)TrvSubmitterJustification | No | Yes | TrvPolicyViolationJustification.Justification | |
JustifyingWorkerEmployee who gave the justification. It points to a worker record. | Int64TrvHcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | TrvPolicyViolationJustification.JustifyingWorker |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ViolatingRecordExpense report, expense line or requisition line that broke the policy. | Int64RefRecId | No | No (private) | TrvExpTable.RecIdTrvExpTrans.RecIdTrvRequisitionLine.RecIdTrvRequisitionTable.RecId | TrvPolicyViolationJustification.ViolatingRecord |
ViolatingRecordIdIdentifies the record that broke the policy and that this justification refers to. | String (20) | No | Yes | computed | |
ViolationJustificationTypeKind of record the justification is for: expense line or header, or requisition line or header. | Enum
| No | Yes | TrvPolicyViolationJustification.ViolationJustificationType |
Foreign keys (5)
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.
JustifyingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvPolicyViolationJustification records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
ViolatingRecord→TrvExpTable.RecId(key of TrvExpTable)Many TrvPolicyViolationJustification records → zero or one TrvExpTable record
TrvExpTable details: see TrvExpMobileReportApprovalEntity, TrvCopilotAutomationReportEntity, TrvExpMobileReportEntity
ViolatingRecord→TrvExpTrans.RecId(key of TrvExpTrans)Many TrvPolicyViolationJustification records → zero or one TrvExpTrans record
TrvExpTrans details: see TrvCopilotAutomationExpenseEntity, TrvExpMobileExpenseEntity, TrvExpMobileExpenseLineAttachedToReportEntity
ViolatingRecord→TrvRequisitionLine.RecId(key of TrvRequisitionLine)Many TrvPolicyViolationJustification records → zero or one TrvRequisitionLine record
TrvRequisitionLine details: see TrvRequisitionLineBiEntity
ViolatingRecord→TrvRequisitionTable.RecId(key of TrvRequisitionTable)Many TrvPolicyViolationJustification records → zero or one TrvRequisitionTable record
TrvRequisitionTable details: see TrvRequisitionTableEntity, TrvRequisitionTableBiEntity
Need help with TrvPolicyViolationJustificationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.