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 · root
  • TrvHcmWorker (table HcmWorker) · InnerJoin to TrvPolicyViolationJustification · read-only

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
JustificationIdUnique ID of the justification record.GuidNoYesTrvPolicyViolationJustification.JustificationId
ActionWorkflow action during which the justification was given, such as submit or approve.Enum
TrvWorkflowAction
  • Submit 0
  • Approve 1
  • Return 2
  • Cancel 3
  • Resubmit 4
  • Delegate 5
NoYesTrvPolicyViolationJustification.Action
JustificationTextText the employee gives to explain the violation.String (1000)
TrvSubmitterJustification
NoYesTrvPolicyViolationJustification.Justification
JustifyingWorkerEmployee who gave the justification. It points to a worker record.Int64
TrvHcmWorkerRecId
YesNo (private)HcmWorker.RecIdTrvPolicyViolationJustification.JustifyingWorker
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ViolatingRecordExpense report, expense line or requisition line that broke the policy.Int64
RefRecId
NoNo (private)TrvExpTable.RecIdTrvExpTrans.RecIdTrvRequisitionLine.RecIdTrvRequisitionTable.RecIdTrvPolicyViolationJustification.ViolatingRecord
ViolatingRecordIdIdentifies the record that broke the policy and that this justification refers to.String (20)NoYescomputed
ViolationJustificationTypeKind of record the justification is for: expense line or header, or requisition line or header.Enum
TrvPolicyViolationJustificationTypeEnum
  • TrvExpLine 0
  • TrvExpHeader 1
  • TrvReqLine 2
  • TrvReqHeader 3
NoYesTrvPolicyViolationJustification.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.

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

Email sales@drdynamics.co.uk