Table
TrvWorkflowLog
Work items
Logs approval and rejection details for expense reports and expense lines. Each row can point to an expense report and a line, and records who approved or rejected and on which date. It also shows whether approval was at document or line level.
- Table name
TrvWorkflowLog- Module
Expense- Table group
Worksheet- Table type
Regular- Data per company
Yes- Configuration key
Trv- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApprovalLevelShows whether approval was done for the whole document or for a single line item. | EnumTrvApprovalLevel (enum) | No | None | |
ApprovedByWorkerThe worker who approved. It points to a worker record. | Int64TrvHcmWorkerRecId | No | HcmWorker.RecId | None |
ApprovedDateThe date of approval. | DateTrvDateStd | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpHeaderRecIdThe expense report this row refers to. | Int64RefRecId | No | TrvExpTable.RecId | None |
ExpLineRecIdThe expense line this row refers to. | Int64RefRecId | No | TrvExpTrans.RecId | None |
ExpNumberThe number of the expense report. | String (20)TrvExpNumber | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RejectedByWorkerThe worker who rejected. It points to a worker record. | Int64TrvHcmWorkerRecId | No | HcmWorker.RecId | None |
RejectedDateThe date of rejection. | DateTrvDateStd | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
ApprovedByWorkerIdxNot unique.
RejectedByWorkerIdx1Not unique.
Relations (4)
Each relation joins TrvWorkflowLog to another table on the fields shown.
ApprovedByWorker→HcmWorkerJoin on
ApprovedByWorker = HcmWorker.RecIdMany TrvWorkflowLog records → zero or one HcmWorker record
RejectedByWorker→HcmWorkerJoin on
RejectedByWorker = HcmWorker.RecIdMany TrvWorkflowLog records → zero or one HcmWorker record
TrvExpTable→TrvExpTableJoin on
ExpHeaderRecId = TrvExpTable.RecIdMany TrvWorkflowLog records → zero or one TrvExpTable record
TrvExpTrans→TrvExpTransJoin on
ExpLineRecId = TrvExpTrans.RecIdMany TrvWorkflowLog records → zero or one TrvExpTrans record
Get this data out
No public entity reads from TrvWorkflowLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvWorkflowLog in a report, an integration or a migration? Talk to Dr Dynamics.