Table

TrvPolicyViolationJustification

Policy violation justifications

Holds the reasons employees give for breaking a policy. Each record links to the violating expense report, expense line or requisition, and to the employee who gave the reason. It also records the workflow action and the type of record.

Table name
TrvPolicyViolationJustification
Module
Expense
Table group
WorksheetLine
Table type
Regular
Data per company
No
Configuration key
Trv
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActionWorkflow action during which the justification was given, such as submit or approve.Enum
TrvWorkflowAction (enum)
NoTrvPolicyViolationJustificationEntity
JustificationText the employee gives to explain the violation.String (1000)
TrvSubmitterJustification
NoTrvPolicyViolationJustificationEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 8 more
JustificationIdUnique ID of the justification record.GuidNoTrvPolicyViolationJustificationEntity
JustifyingWorkerEmployee who gave the justification. It points to a worker record.Int64
TrvHcmWorkerRecId
YesHcmWorker.RecIdTrvPolicyViolationJustificationEntityTrvExpTransMobileV2EntityTrvCopilotAutomationExpenseEntityand 6 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ViolatingRecordExpense report, expense line or requisition line that broke the policy.Int64
RefRecId
NoTrvExpTable.RecIdTrvExpTrans.RecIdTrvRequisitionLine.RecIdTrvRequisitionTable.RecIdTrvPolicyViolationJustificationEntity
ViolationJustificationTypeKind of record the justification is for: expense line or header, or requisition line or header.Enum
TrvPolicyViolationJustificationTypeEnum (enum)
NoTrvPolicyViolationJustificationEntity

Indexes (3)

Relations (5)

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

  • TrvHcmWorker → HcmWorker

    Join on JustifyingWorker = HcmWorker.RecId

    Many TrvPolicyViolationJustification records → exactly one HcmWorker record

  • TrvExpTable → TrvExpTable

    Join on ViolatingRecord = TrvExpTable.RecId

    Many TrvPolicyViolationJustification records → zero or one TrvExpTable record

  • TrvExpTrans → TrvExpTrans

    Join on ViolatingRecord = TrvExpTrans.RecId

    Many TrvPolicyViolationJustification records → zero or one TrvExpTrans record

  • TrvRequisitionLine → TrvRequisitionLine

    Join on ViolatingRecord = TrvRequisitionLine.RecId

    Many TrvPolicyViolationJustification records → zero or one TrvRequisitionLine record

  • TrvRequisitionTable → TrvRequisitionTable

    Join on ViolatingRecord = TrvRequisitionTable.RecId

    Many TrvPolicyViolationJustification records → zero or one TrvRequisitionTable record

Get this data out

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

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

Email sales@drdynamics.co.uk