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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ApproverUser ID of the approver. It relates to the user table.String
UserId
YesNone
WorkflowContextRecIdWorkflow context record ID. It points to the expense report.Int64
WorkflowContextRecId
YesTrvExpTable.RecIdNone
ApproverOrderThe position of the approver in the approval order.IntegerNoNone
ApproverWorkerPoints to the worker (by system record ID) who is the approver.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone
HasApprovedYes/No flag showing whether the approver has approved.Enum
NoYes (enum)
NoNone
IsCurrentApproverYes/No flag showing whether this approver is the current one.Enum
NoYes (enum)
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkflowCorrelationIdCorrelation ID that identifies the workflow instance.Guid
WorkflowCorrelationId
NoNone

Indexes (2)

Relations (3)

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

  • ExpenseReport → TrvExpTable

    Join on WorkflowContextRecId = TrvExpTable.RecId

    Cardinality not set in the metadata.

  • Approver → UserInfo

    Join on Approver = UserInfo.id

    Cardinality not set in the metadata.

  • ApproverWorker → HcmWorker

    Join on ApproverWorker = HcmWorker.RecId

    Cardinality 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.

Email sales@drdynamics.co.uk