Table
TrvInterimApprover
Interim approvers
Lists interim approvers for an expense report approval. The key is the approver plus the workflow context. Each row shows the approver's order and whether they are current or have approved.
- Table name
TrvInterimApprover- Module
Expense- Table group
Worksheet- Table type
Regular- Data per company
No- Configuration key
Trv- Primary index
Approver- Replacement key
Approver- Key fields
Approver, WorkflowContextRecId- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApproverUser ID of the approver. It relates to the user table. | StringUserId | Yes | None | |
WorkflowContextRecIdWorkflow context record ID. It points to the expense report. | Int64WorkflowContextRecId | Yes | TrvExpTable.RecId | None |
ApproverOrderThe position of the approver in the approval order. | Integer | No | None | |
ApproverWorkerPoints to the worker (by system record ID) who is the approver. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
HasApprovedYes/No flag showing whether the approver has approved. | EnumNoYes (enum) | No | None | |
IsCurrentApproverYes/No flag showing whether this approver is the current one. | EnumNoYes (enum) | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkflowCorrelationIdCorrelation ID that identifies the workflow instance. | GuidWorkflowCorrelationId | No | None |
Indexes (2)
ApproverPrimary indexReplacement keyApprover,WorkflowContextRecIdUnique, alternate key.
WorkflowWorkflowCorrelationId,WorkflowContextRecId,ApproverOrderNot unique.
Relations (3)
Each relation joins TrvInterimApprover to another table on the fields shown.
ExpenseReport→TrvExpTableJoin on
WorkflowContextRecId = TrvExpTable.RecIdCardinality not set in the metadata.
Approver→UserInfoJoin on
Approver = UserInfo.idCardinality not set in the metadata.
ApproverWorker→HcmWorkerJoin on
ApproverWorker = HcmWorker.RecIdCardinality not set in the metadata.
Get this data out
No public entity reads from TrvInterimApprover. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvInterimApprover in a report, an integration or a migration? Talk to Dr Dynamics.