Table

TrvExpRecurringHistory

Show history

Records the run history of recurring expense templates. Each row links a template to the expense line it created and shows a status of Running, Success or Failed. It also holds the scheduled date and an error message. It has no defined key.

Table name
TrvExpRecurringHistory
Module
Expense
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Trv
Primary index
RecId
Replacement key
None
Key fields
None
Model
ExpenseManagement

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
ErrorMessageText describing an error, up to 1000 characters.String (1000)
Description1000
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
ScheduledForDateThe date the run was scheduled for.DateYesNone
StatusResult of the run: Running, Success or Failed.Enum
TrvExpRecurringHistoryStatus (enum)
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
TrvExpRecurringTemplatePoints to the recurring expense template (by system record ID).Int64YesTrvExpRecurringTemplate.RecIdNone
TrvExpTransPoints to the expense line (by system record ID) linked to this run.Int64
RefRecId
NoTrvExpTrans.RecIdNone

Indexes (2)

Relations (2)

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

  • TrvExpRecurringTemplate → TrvExpRecurringTemplate

    Join on TrvExpRecurringTemplate = TrvExpRecurringTemplate.RecId

    Many TrvExpRecurringHistory records → exactly one TrvExpRecurringTemplate record

  • TrvExpTrans → TrvExpTrans

    Join on TrvExpTrans = TrvExpTrans.RecId

    Many TrvExpRecurringHistory records → zero or one TrvExpTrans record

Get this data out

No public entity reads from TrvExpRecurringHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk